mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 10:33:49 +00:00
DX: apply rector rules up to php8.0
This commit is contained in:
@@ -14,13 +14,10 @@ namespace Chill\MainBundle\Security\Resolver;
|
||||
final class CenterResolverDispatcher implements CenterResolverDispatcherInterface
|
||||
{
|
||||
/**
|
||||
* @var CenterResolverInterface[]
|
||||
* @param \Chill\MainBundle\Security\Resolver\CenterResolverInterface[] $resolvers
|
||||
*/
|
||||
private iterable $resolvers;
|
||||
|
||||
public function __construct(iterable $resolvers = [])
|
||||
public function __construct(private iterable $resolvers = [])
|
||||
{
|
||||
$this->resolvers = $resolvers;
|
||||
}
|
||||
|
||||
public function resolveCenter($entity, ?array $options = [])
|
||||
|
Reference in New Issue
Block a user