diff options
author | Mateja <mail@matejamaric.com> | 2020-10-27 23:17:19 +0100 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2020-10-27 23:17:19 +0100 |
commit | a3d432a6a0710261149fdaecdc2a5a62a82fe303 (patch) | |
tree | 7045451baab059a7ee5c630ba79e59d90e61d25e /database/factories/PostFactory.php | |
parent | 70af943af67e05656f8000a832ef7f27b4db4e6f (diff) | |
download | yota-laravel-a3d432a6a0710261149fdaecdc2a5a62a82fe303.tar.gz yota-laravel-a3d432a6a0710261149fdaecdc2a5a62a82fe303.zip |
Validator::make and html5 required
Diffstat (limited to 'database/factories/PostFactory.php')
-rw-r--r-- | database/factories/PostFactory.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/database/factories/PostFactory.php b/database/factories/PostFactory.php index 0b00530..ea950a1 100644 --- a/database/factories/PostFactory.php +++ b/database/factories/PostFactory.php @@ -22,7 +22,7 @@ class PostFactory extends Factory public function definition() { return [ - 'title' => $this->faker->title, + 'title' => $this->faker->word, 'author' => $this->faker->name, 'text' => $this->faker->text, ]; |