Skip to content

Commit

Permalink
fix: Apply Rector fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgrayston-paddle committed Nov 25, 2024
1 parent df58df8 commit 1c5701e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Rector\Config\RectorConfig;
use Rector\Php81\Rector\Class_\MyCLabsClassToEnumRector;
use Rector\Php81\Rector\MethodCall\MyCLabsMethodCallToEnumConstRector;
use Rector\Set\ValueObject\LevelSetList;
use Rector\Set\ValueObject\SetList;

Expand All @@ -24,6 +25,7 @@
'*.json',
'*/Fixture/*',
MyCLabsClassToEnumRector::class,
MyCLabsMethodCallToEnumConstRector::class,
]);

$rectorConfig->importNames();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function __construct(

public function getParameters(): array
{
$enumStringify = fn ($enum) => $enum->getValue();
fn ($enum) => $enum->getValue();

return array_merge(
$this->pager?->getParameters() ?? [],
Expand Down

0 comments on commit 1c5701e

Please sign in to comment.