diff --git a/DataCollector/FeatureCollector.php b/DataCollector/FeatureCollector.php index 9f205c7..bb993ed 100644 --- a/DataCollector/FeatureCollector.php +++ b/DataCollector/FeatureCollector.php @@ -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) { @@ -38,9 +35,6 @@ public function reset() $this->data = []; } - /** - * {@inheritdoc} - */ public function getName(): string { return 'progressive.features'; diff --git a/Rule/Environments.php b/Rule/Environments.php index 7570863..44497c7 100644 --- a/Rule/Environments.php +++ b/Rule/Environments.php @@ -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'; diff --git a/Rule/Roles.php b/Rule/Roles.php index 2a91a09..7a424a7 100644 --- a/Rule/Roles.php +++ b/Rule/Roles.php @@ -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()) { @@ -34,9 +31,6 @@ public function decide(ParameterBagInterface $bag, array $roles = []): bool return false; } - /** - * {@inheritdoc} - */ public function getName(): string { return 'roles'; diff --git a/Rule/Users.php b/Rule/Users.php index 9831036..1ce468d 100644 --- a/Rule/Users.php +++ b/Rule/Users.php @@ -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()) { @@ -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';