Skip to content

Commit

Permalink
cs wip
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Nov 13, 2023
1 parent 032e96b commit 954ca8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/UrlScript.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function withPath(string $path, string $scriptPath = ''): static
{
$dolly = clone $this;
$dolly->scriptPath = $scriptPath;
$parent = \Closure::fromCallable([UrlImmutable::class, 'withPath'])->bindTo($dolly);
$parent = UrlImmutable::withPath(...)->bindTo($dolly);
return $parent($path);
}

Expand Down

0 comments on commit 954ca8c

Please sign in to comment.