We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d41951 commit f71d697Copy full SHA for f71d697
README.md
@@ -417,9 +417,11 @@ Checks if Eloquent model has create method for specified `HasMany` relation:
417
418
```php
419
$this->assertEloquentHasCreateRelationMethod(Post::class, 'comments');
420
+```
421
-// Assuming that `Post` class has `createComment` method
422
+Assuming that `Post` class has `createComment` method:
423
424
+```php
425
class Post extends Model
426
{
427
public function createComment(array $comment)
0 commit comments