Fix static analysis nullCoalesce error
All checks were successful
CI / ci (push) Successful in 9m19s

This commit is contained in:
myrmidex 2026-06-10 15:41:59 +00:00
parent 7e91d570c7
commit f3c06363db

View file

@ -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(),
];