mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-30 10:29:42 +00:00
new cs rule: single_line_empty_body
Rule is added to the last version of php-cs-fixer
This commit is contained in:
@@ -16,9 +16,7 @@ final readonly class CenterResolverDispatcher implements CenterResolverDispatche
|
||||
/**
|
||||
* @param \Chill\MainBundle\Security\Resolver\CenterResolverInterface[] $resolvers
|
||||
*/
|
||||
public function __construct(private iterable $resolvers = [])
|
||||
{
|
||||
}
|
||||
public function __construct(private iterable $resolvers = []) {}
|
||||
|
||||
public function resolveCenter($entity, ?array $options = [])
|
||||
{
|
||||
|
@@ -22,9 +22,7 @@ final readonly class CenterResolverManager implements CenterResolverManagerInter
|
||||
/**
|
||||
* @param \Chill\MainBundle\Security\Resolver\CenterResolverInterface[] $resolvers
|
||||
*/
|
||||
public function __construct(private iterable $resolvers = [])
|
||||
{
|
||||
}
|
||||
public function __construct(private iterable $resolvers = []) {}
|
||||
|
||||
public function resolveCenters($entity, ?array $options = []): array
|
||||
{
|
||||
|
@@ -15,9 +15,7 @@ use Twig\TwigFilter;
|
||||
|
||||
final class ResolverTwigExtension extends \Twig\Extension\AbstractExtension
|
||||
{
|
||||
public function __construct(private readonly CenterResolverManagerInterface $centerResolverDispatcher, private readonly ScopeResolverDispatcher $scopeResolverDispatcher)
|
||||
{
|
||||
}
|
||||
public function __construct(private readonly CenterResolverManagerInterface $centerResolverDispatcher, private readonly ScopeResolverDispatcher $scopeResolverDispatcher) {}
|
||||
|
||||
public function getFilters()
|
||||
{
|
||||
|
@@ -19,9 +19,7 @@ final readonly class ScopeResolverDispatcher
|
||||
/**
|
||||
* @param \Chill\MainBundle\Security\Resolver\ScopeResolverInterface[] $resolvers
|
||||
*/
|
||||
public function __construct(private iterable $resolvers)
|
||||
{
|
||||
}
|
||||
public function __construct(private iterable $resolvers) {}
|
||||
|
||||
public function isConcerned($entity, ?array $options = []): bool
|
||||
{
|
||||
|
Reference in New Issue
Block a user