File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class CommentFactory extends Factory
1212 public function definition ()
1313 {
1414 return [
15- 'content ' => $ this ->faker ->text
15+ 'content ' => $ this ->faker ->text ()
1616 ];
1717 }
1818}
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ class PostFactory extends Factory
1212 public function definition ()
1313 {
1414 return [
15- 'title ' => $ this ->faker ->title ,
16- 'content ' => $ this ->faker ->text ,
15+ 'title ' => $ this ->faker ->title () ,
16+ 'content ' => $ this ->faker ->text () ,
1717 ];
1818 }
1919}
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ class UserFactory extends Factory
1313 public function definition ()
1414 {
1515 return [
16- 'name ' => $ this ->faker ->name ,
17- 'email ' => $ this ->faker ->email ,
16+ 'name ' => $ this ->faker ->name () ,
17+ 'email ' => $ this ->faker ->email () ,
1818 'password ' => Hash::make ('password ' )
1919 ];
2020 }
You can’t perform that action at this time.
0 commit comments