Skip to content

Commit

Permalink
remove duplicated line
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Feb 12, 2024
1 parent 6c7dbaa commit 5dd8a4b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Config/RectorConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,6 @@ public function rule(string $rectorClass): void
// for cache invalidation in case of change
SimpleParameterProvider::addParameter(Option::REGISTERED_RECTOR_RULES, $rectorClass);

// for cache invalidation in case of change
SimpleParameterProvider::addParameter(Option::REGISTERED_RECTOR_RULES, $rectorClass);

if (is_a($rectorClass, RelatedConfigInterface::class, true)) {
$configFile = $rectorClass::getConfigFile();

Expand Down

0 comments on commit 5dd8a4b

Please sign in to comment.