Update database/factories/ResumeFactory.php

Co-authored-by: Krzysztof Rewak <krzysztof.rewak@gmail.com>
This commit is contained in:
Adrian Hopek 2022-05-17 15:19:50 +02:00 committed by GitHub
parent 135e7b097e
commit 30fdfe8203
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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