forked from eatvio/eatvio-infra
analysators added
This commit is contained in:
@@ -21,7 +21,6 @@ class UserFactory extends Factory
|
||||
public function definition(): array
|
||||
{
|
||||
|
||||
|
||||
return [
|
||||
'name' => $this->faker->name(),
|
||||
'email' => $this->faker->unique()->safeEmail(),
|
||||
@@ -50,7 +49,7 @@ class UserFactory extends Factory
|
||||
/**
|
||||
* Indicate that the user should have a personal team.
|
||||
*/
|
||||
public function withPersonalTeam(callable $callback = null): static
|
||||
public function withPersonalTeam(?callable $callback = null): static
|
||||
{
|
||||
if (! Features::hasTeamFeatures()) {
|
||||
return $this->state([]);
|
||||
|
||||
Reference in New Issue
Block a user