Skip to content

Commit

Permalink
Fix code smell
Browse files Browse the repository at this point in the history
  • Loading branch information
bennothommo committed Apr 3, 2021
1 parent 3ba76da commit aa0b5a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Filesystem/PathResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ public static function resolve($path)
$drive = array_shift($resolvedSegments) ?: null;
continue;
} elseif (is_file($currentPath) && $i < (count($pathSegments) - 1)) {
// If we've hit a file and we're trying to relatively traverse the path further, we need to fail at this
// point.
// If we've hit a file and we're trying to relatively traverse the path further, we need to fail
// at this point.
return false;
}
} catch (Throwable $e) {
Expand Down

0 comments on commit aa0b5a1

Please sign in to comment.