fix phpstan issues

This commit is contained in:
2023-04-28 22:55:01 +02:00
parent 9027cbd196
commit c35994203d
10 changed files with 24 additions and 43 deletions

View File

@@ -209,9 +209,9 @@ class AuthorizationHelper implements AuthorizationHelperInterface
throw new UnexpectedValueException(
sprintf(
'The entity given is not an instance of %s, %s given',
'The entity given is not an instance of %s or an array of centers, %s given',
Center::class,
$center::class
gettype($center)
)
);
}