Fix static analysis nullCoalesce error
All checks were successful
CI / ci (push) Successful in 9m19s
All checks were successful
CI / ci (push) Successful in 9m19s
This commit is contained in:
parent
7e91d570c7
commit
f3c06363db
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ final class RatingFactory extends PersistentObjectFactory
|
|||
{
|
||||
return [
|
||||
'score' => self::faker()->numberBetween(1, 5),
|
||||
'note' => self::faker()->optional()->sentence() ?? '',
|
||||
'note' => self::faker()->optional(default: '')->sentence(),
|
||||
'subject' => RestaurantFactory::new(),
|
||||
'user' => UserFactory::new(),
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in a new issue