This commit is contained in:
Adrian Hopek
2022-05-17 15:27:05 +02:00
parent 07ed41223a
commit cda691ea2b
2 changed files with 4 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ class ResumeFactory extends Factory
public function definition(): array
{
return [
"name" => fn(array $attributes): bool => empty($attributes["user_id"]) ? $this->faker->name : null,
"name" => fn(array $attributes): ?string => empty($attributes["user_id"]) ? $this->faker->name : null,
"education" => $this->generateEducation(),
"languages" => $this->generateLanguages(),
"technologies" => $this->generateTechnologies(),