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.
render
1 parent 89e4bd9 commit d33b6b2Copy full SHA for d33b6b2
src/Inertia.php
@@ -2,6 +2,7 @@
2
3
namespace Inertia;
4
5
+use Illuminate\Contracts\Support\Arrayable;
6
use Illuminate\Support\Facades\Facade;
7
8
/**
@@ -12,7 +13,7 @@
12
13
* @method static void version($version)
14
* @method static int|string getVersion()
15
* @method static LazyProp lazy(callable $callback)
- * @method static Response render($component, array $props = [])
16
+ * @method static Response render($component, array|Arrayable $props = [])
17
* @method static \Illuminate\Http\Response location(string $url)
18
*
19
* @see \Inertia\ResponseFactory
0 commit comments