forked from eatvio/eatvio-infra
recipe seeder and factories fix code style
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
@@ -16,11 +18,9 @@ class RecipeCommentFactory extends Factory
|
||||
*/
|
||||
public function definition(): array
|
||||
{
|
||||
|
||||
return [
|
||||
'grade' => $this->faker->randomDigit(),
|
||||
'body' => $this->faker->text(),
|
||||
];
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user