Skip to content

Commit

Permalink
Run php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
antfroger committed Jan 30, 2024
1 parent 8611a46 commit 2649cbf
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 24 deletions.
6 changes: 0 additions & 6 deletions DataCollector/FeatureCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ public function __construct(Progressive $progressive, VarCloner $cloner)
$this->cloner = $cloner;
}

/**
* {@inheritdoc}
*/
public function collect(Request $request, Response $response, \Throwable $exception = null)
{
foreach ($this->progressive->all() as $name => $config) {
Expand All @@ -38,9 +35,6 @@ public function reset()
$this->data = [];
}

/**
* {@inheritdoc}
*/
public function getName(): string
{
return 'progressive.features';
Expand Down
6 changes: 0 additions & 6 deletions Rule/Environments.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,11 @@ public function __construct($env)
$this->env = $env;
}

/**
* {@inheritdoc}
*/
public function decide(ParameterBagInterface $bag, array $envs = []): bool
{
return in_array($this->env, $envs);
}

/**
* {@inheritdoc}
*/
public function getName(): string
{
return 'env';
Expand Down
6 changes: 0 additions & 6 deletions Rule/Roles.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ public function __construct(Security $security)
$this->security = $security;
}

/**
* {@inheritdoc}
*/
public function decide(ParameterBagInterface $bag, array $roles = []): bool
{
if (null === $user = $this->security->getUser()) {
Expand All @@ -34,9 +31,6 @@ public function decide(ParameterBagInterface $bag, array $roles = []): bool
return false;
}

/**
* {@inheritdoc}
*/
public function getName(): string
{
return 'roles';
Expand Down
6 changes: 0 additions & 6 deletions Rule/Users.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ public function __construct(Security $security)
$this->security = $security;
}

/**
* {@inheritdoc}
*/
public function decide(ParameterBagInterface $bag, array $usernames = []): bool
{
if (null === $user = $this->security->getUser()) {
Expand All @@ -27,9 +24,6 @@ public function decide(ParameterBagInterface $bag, array $usernames = []): bool
return in_array($user->getUsername(), $usernames);
}

/**
* {@inheritdoc}
*/
public function getName(): string
{
return 'users';
Expand Down

0 comments on commit 2649cbf

Please sign in to comment.