Skip to content

Commit fd02bc9

Browse files
committed
Update Facade type-hints
1 parent 1ba4a0d commit fd02bc9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Inertia.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@
77
/**
88
* @method static void setRootView(string $name)
99
* @method static void share($key, $value = null)
10-
* @method static array getShared($key = null, $default = null)
10+
* @method static array getShared(string $key = null, $default = null)
11+
* @method static array flushShared()
1112
* @method static void version($version)
1213
* @method static int|string getVersion()
14+
* @method static LazyProp lazy(callable $callback)
1315
* @method static Response render($component, array $props = [])
1416
* @method static \Illuminate\Http\Response location(string $url)
15-
* @method static LazyProp lazy(callable $callback)
1617
*
1718
* @see \Inertia\ResponseFactory
1819
*/

0 commit comments

Comments
 (0)