Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreRambaud committed Sep 28, 2020
1 parent f4be495 commit 9789601
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function getRouteSecurityAnnotation($routeName, Route $route)
$controllerAndMethod = $this->extractControllerAndMethodNamesFromRoute($route);

if ($controllerAndMethod === null) {
throw new LinterException(sprintf('"%s" does not cannot be parsed', $route->getDefault('_controller')));
throw new LinterException(sprintf('"%s" cannot be parsed', $route->getDefault('_controller')));
}

$reflection = new ReflectionMethod(
Expand Down

0 comments on commit 9789601

Please sign in to comment.