Skip to content

Commit

Permalink
BUGFIX: Mostly cosmetic tweak to RuntimeConfiguration::forPath()
Browse files Browse the repository at this point in the history
To satisfy the update PHPStan baseline
  • Loading branch information
bwaidelich committed Apr 18, 2024
1 parent 9ee2fc8 commit 9ddc938
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Neos.Fusion/Classes/Core/RuntimeConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ public function forPath(string $fusionPath): array
$pathUntilNow = '';
$fusionPathLength = strlen($fusionPath);
$offset = $fusionPathLength;
$currentPrototypeDefinitions = [];
while (($offset = strrpos($fusionPath, '/', -($fusionPathLength - $offset + 1))) != false) {
$pathPrefix = substr($fusionPath, 0, $offset);
if (isset($this->pathCache[$pathPrefix])) {
Expand Down

0 comments on commit 9ddc938

Please sign in to comment.