toby/database/factories/YearPeriodFactory.php
Adrian Hopek 652587dbf1
#19 - year periods (#25)
* #19 - year periods

* #19 - fix
2022-01-19 11:00:17 +01:00

18 lines
293 B
PHP

<?php
declare(strict_types=1);
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
class YearPeriodFactory extends Factory
{
public function definition(): array
{
return [
"year" => $this->faker->unique()->year,
];
}
}