Skip to content

Commit 891637b

Browse files
authored
Merge pull request #766 from mtlukaszczyk/patch-2
[2.x] Improve inertia helper docblock
2 parents 1e9721d + a4fdd07 commit 891637b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helpers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* @param null|string $component
88
* @param array|\Illuminate\Contracts\Support\Arrayable $props
9-
* @return \Inertia\ResponseFactory|\Inertia\Response
9+
* @return ($component is null ? \Inertia\ResponseFactory : \Inertia\Response)
1010
*/
1111
function inertia($component = null, $props = [])
1212
{

0 commit comments

Comments
 (0)