Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ClassMapAutoloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public static function realPharPath($path)
return ($p !== '' && $p !== '.');
}));

array_walk($parts, function ($value, $key) use(&$parts) {
array_walk($parts, function ($value, $key) use (&$parts) {
if ($value === '..') {
unset($parts[$key], $parts[$key-1]);
$parts = array_values($parts);
Expand Down

0 comments on commit 557bab7

Please sign in to comment.