Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Dec 30, 2024
1 parent 372d296 commit 4a0a80f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Workbench.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ class Workbench extends \Orchestra\Testbench\Workbench\Workbench
*/
public static function applicationPath(array|string $path = ''): string
{
return base_path(
join_paths(...Arr::wrap(\func_num_args() > 1 ? \func_get_args() : $path))
);
/** @var array<int, mixed> $path */
$path = Arr::wrap(\func_num_args() > 1 ? \func_get_args() : $path);

return base_path(join_paths(...$path));
}

/**
Expand Down

0 comments on commit 4a0a80f

Please sign in to comment.