Skip to content

Commit 556280a

Browse files
committed
fixup! fixup! [symfony] Add NoRouteTrailingSlashPathRule
1 parent 4fa464d commit 556280a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Rules/Symfony/NoRouteTrailingSlashPathRule.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ public function processNode(Node $node, Scope $scope): array
5353
return [];
5454
}
5555

56-
$ruleError = RuleErrorBuilder::message(sprintf(self::ERROR_MESSAGE, $routePath))
56+
$identifierRuleError = RuleErrorBuilder::message(sprintf(self::ERROR_MESSAGE, $routePath))
5757
->identifier(SymfonyRuleIdentifier::NO_ROUTE_TRAILING_SLASH_PATH)
5858
->build();
5959

60-
return [$ruleError];
60+
return [$identifierRuleError];
6161
}
6262

6363
private function matchRouteDocblockPath(ClassMethod $classMethod): ?string

0 commit comments

Comments
 (0)