Skip to content

Commit

Permalink
Coding standard fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinMystikJonas committed Nov 15, 2023
1 parent 094dad5 commit f06db43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Nette/LinkChecker.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ private function validateLink(Scope $scope, ?string $currentClass, string $desti
}
$targetClassDir = dirname($targetClassFileName);
$templateDir = is_dir($targetClassDir . '/templates') ? $targetClassDir : dirname($targetClassDir);
$presenterWithoutModule = substr($presenter, (int)strrpos($presenter, ':') + 1);
$presenterWithoutModule = substr($presenter, (int) strrpos($presenter, ':') + 1);
$templates = [
sprintf('%s/templates/%s/%s.latte', $templateDir, $presenterWithoutModule, $action),
sprintf('%s/templates/%s.%s.latte', $templateDir, $presenterWithoutModule, $action),
Expand Down

0 comments on commit f06db43

Please sign in to comment.