static analisys refactoryn, View types added

This commit is contained in:
Anatoliy Poloz
2023-12-29 10:58:52 +03:00
parent 8ee6f527c4
commit a776b3974a
77 changed files with 3667 additions and 2 deletions

View File

@@ -0,0 +1,26 @@
<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\PlanComment>
*/
class PlanCommentFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array<string, mixed>
*/
public function definition(): array
{
return [
'grade' => $this->faker->randomDigit(),
'body' => $this->faker->text(),
];
}
}