Skip to content

Commit

Permalink
fix(util.path): make expand() public
Browse files Browse the repository at this point in the history
  • Loading branch information
adhocore committed Aug 24, 2018
1 parent 9af6f4e commit 6111638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Util/Path.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public function loadClasses(array $inPaths, array $namespaces, string $ext = 'ph
return \preg_grep('~^' . \preg_quote($namespaces) . '~', $allClasses);
}

protected function expand(string $path, string $from = ''): string
public function expand(string $path, string $from = ''): string
{
if ($path[0] === '~') {
return \str_replace('~', \getenv('HOME'), $path);
Expand Down

0 comments on commit 6111638

Please sign in to comment.