Skip to content

Commit 917bec9

Browse files
author
Patrick
authored
Use correct return type for location() (#408)
See ResponseFactory.php::location
1 parent 75859fb commit 917bec9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Inertia.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* @method static int|string getVersion()
1515
* @method static LazyProp lazy(callable $callback)
1616
* @method static Response render($component, array|Arrayable $props = [])
17-
* @method static \Illuminate\Http\Response location(string $url)
17+
* @method static \Symfony\Component\HttpFoundation\Response location(string $url)
1818
*
1919
* @see \Inertia\ResponseFactory
2020
*/

0 commit comments

Comments
 (0)