|
3 | 3 | namespace Inertia;
|
4 | 4 |
|
5 | 5 | use Illuminate\Support\Facades\Facade;
|
6 |
| -use Illuminate\Contracts\Support\Arrayable; |
7 | 6 |
|
8 | 7 | /**
|
9 | 8 | * @method static void setRootView(string $name)
|
10 |
| - * @method static void share($key, $value = null) |
11 |
| - * @method static array getShared(string $key = null, $default = null) |
12 |
| - * @method static array flushShared() |
13 |
| - * @method static void version($version) |
14 |
| - * @method static int|string getVersion() |
15 |
| - * @method static LazyProp lazy(callable $callback) |
16 |
| - * @method static Response render($component, array|Arrayable $props = []) |
17 |
| - * @method static \Symfony\Component\HttpFoundation\Response location(string $url) |
| 9 | + * @method static void share(string|array|\Illuminate\Contracts\Support\Arrayable $key, mixed $value = null) |
| 10 | + * @method static mixed getShared(string|null $key = null, mixed $default = null) |
| 11 | + * @method static void flushShared() |
| 12 | + * @method static void version(\Closure|string|null $version) |
| 13 | + * @method static string getVersion() |
| 14 | + * @method static \Inertia\LazyProp lazy(callable $callback) |
| 15 | + * @method static \Inertia\Response render(string $component, array|\Illuminate\Contracts\Support\Arrayable $props = []) |
| 16 | + * @method static \Symfony\Component\HttpFoundation\Response location(string|\Illuminate\Http\RedirectResponse $url) |
| 17 | + * @method static void macro(string $name, object|callable $macro) |
| 18 | + * @method static void mixin(object $mixin, bool $replace = true) |
| 19 | + * @method static bool hasMacro(string $name) |
| 20 | + * @method static void flushMacros() |
18 | 21 | *
|
19 | 22 | * @see \Inertia\ResponseFactory
|
20 | 23 | */
|
|
0 commit comments