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 19, 2023
1 parent 103d2a9 commit fbb5e4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Filesystem/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
/**
* Join the given paths together.
*
* @param string $basePath
* @param string|null $basePath
* @param string ...$paths
* @return string
*/
function join_paths(string $basePath, string ...$paths)
function join_paths($basePath, string ...$paths)
{
return $basePath.collect($paths)->reject(fn ($path) => empty($path))
->transform(fn ($path) => DIRECTORY_SEPARATOR.ltrim($path, DIRECTORY_SEPARATOR))
Expand Down

0 comments on commit fbb5e4f

Please sign in to comment.