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.
2 parents 1e9721d + a4fdd07 commit 891637bCopy full SHA for 891637b
helpers.php
@@ -6,7 +6,7 @@
6
*
7
* @param null|string $component
8
* @param array|\Illuminate\Contracts\Support\Arrayable $props
9
- * @return \Inertia\ResponseFactory|\Inertia\Response
+ * @return ($component is null ? \Inertia\ResponseFactory : \Inertia\Response)
10
*/
11
function inertia($component = null, $props = [])
12
{
0 commit comments