Skip to content

Commit d3807a1

Browse files
fix: Apply Rector fixes (#101)
1 parent df58df8 commit d3807a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rector.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use Rector\Config\RectorConfig;
66
use Rector\Php81\Rector\Class_\MyCLabsClassToEnumRector;
7+
use Rector\Php81\Rector\MethodCall\MyCLabsMethodCallToEnumConstRector;
78
use Rector\Set\ValueObject\LevelSetList;
89
use Rector\Set\ValueObject\SetList;
910

@@ -24,6 +25,7 @@
2425
'*.json',
2526
'*/Fixture/*',
2627
MyCLabsClassToEnumRector::class,
28+
MyCLabsMethodCallToEnumConstRector::class,
2729
]);
2830

2931
$rectorConfig->importNames();

src/Resources/SimulationRunEvents/Operations/ListSimulationRunEvents.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ public function __construct(
2424

2525
public function getParameters(): array
2626
{
27-
$enumStringify = fn ($enum) => $enum->getValue();
28-
2927
return array_merge(
3028
$this->pager?->getParameters() ?? [],
3129
array_filter([

0 commit comments

Comments
 (0)