Skip to content

Commit

Permalink
Fix Rector issues
Browse files Browse the repository at this point in the history
  • Loading branch information
msmakouz committed Jul 18, 2023
1 parent 84737d8 commit acf4dc8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/Scaffolder/src/Declaration/ConfigDeclaration.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
class ConfigDeclaration extends AbstractDeclaration implements HasInstructions
{
public const TYPE = 'config';
private bool $reverse = false;

public function __construct(
ScaffolderConfig $config,
Expand All @@ -41,7 +40,6 @@ public function __construct(

public function create(bool $reverse, string $configName): void
{
$this->reverse = $reverse;
$this->class->addConstant('CONFIG', $configName)->setPublic();

$filename = $this->makeConfigFilename($configName);
Expand Down
2 changes: 0 additions & 2 deletions src/Tokenizer/src/AbstractLocator.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,6 @@ protected function classReflection(string $class): \ReflectionClass
*
* @param class-string $enum
*
* @return \ReflectionEnum
*
* @throws LocatorException
*/
protected function enumReflection(string $enum): \ReflectionEnum
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ private function loadInterfaces(
}

/**
* @param ListenerInvoker $invoker
* @param callable(): array<class-string, \ReflectionClass> $reflections
* @param callable(TokenizationListenerInterface): bool $loader
*/
Expand Down

0 comments on commit acf4dc8

Please sign in to comment.