apply more cs rules for php-cs

This commit is contained in:
2023-10-17 13:27:03 +02:00
parent 0b0cbed9db
commit bc2041cbdd
1485 changed files with 8169 additions and 9620 deletions

View File

@@ -13,7 +13,6 @@ namespace Chill\MainBundle\Security\Resolver;
use Chill\MainBundle\Entity\HasCenterInterface;
use Chill\MainBundle\Entity\HasCentersInterface;
use UnexpectedValueException;
class DefaultCenterResolver implements CenterResolverInterface
{
@@ -24,7 +23,6 @@ class DefaultCenterResolver implements CenterResolverInterface
/**
* @param HasCenterInterface $entity
* @param array $options
*/
public function resolveCenter($entity, ?array $options = [])
{
@@ -36,7 +34,7 @@ class DefaultCenterResolver implements CenterResolverInterface
return $entity->getCenters();
}
throw new UnexpectedValueException('should be an instanceof');
throw new \UnexpectedValueException('should be an instanceof');
}
public function supports($entity, ?array $options = []): bool