recipe seeder and factories fix code style

This commit is contained in:
2023-12-21 15:01:03 +03:00
parent abd3b72e2e
commit 4e02272d2c
6 changed files with 18 additions and 14 deletions

View File

@@ -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(),
];
}
}