Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Dec 12, 2024
1 parent c26ef0a commit be721de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/Foundation/Console/Actions/Action.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ abstract class Action
*
* @param string $path
* @return string
*
*
* @deprecated
*
*
* @codeCoverageIgnore
*/
protected function pathLocation(string $path): string
Expand Down
7 changes: 3 additions & 4 deletions src/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,17 +219,16 @@ function refresh_router_lookups(Router $router): void
$router->getRoutes()->refreshNameLookups();
}


/**
* Transform realpath to alias path.
*
*
* @api
*
*
* @param string $path
* @param string|null $workingPath
* @return string
*/
function transform_realpath_to_relative(string $path, ?string $workingPath = null, string $prefix = ''): string
function transform_realpath_to_relative(string $path, ?string $workingPath = null, string $prefix = ''): string
{
if (! \is_null($workingPath)) {
return str_replace(rtrim($workingPath, DIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR, $prefix, $path);
Expand Down

0 comments on commit be721de

Please sign in to comment.