We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2a9093 commit 0c0f9d2Copy full SHA for 0c0f9d2
1 file changed
src/Http/UrlScript.php
@@ -54,7 +54,8 @@ public function withPath(string $path, string $scriptPath = '')
54
{
55
$dolly = clone $this;
56
$dolly->scriptPath = $scriptPath;
57
- return call_user_func([$dolly, 'parent::withPath'], $path);
+ $parent = \Closure::fromCallable([UrlImmutable::class, 'withPath'])->bindTo($dolly);
58
+ return $parent($path);
59
}
60
61
0 commit comments