Skip to content

Commit ad3b3e6

Browse files
authored
Merge pull request #31 from rojtjo/patch-1
Change default value of $value to null on Inertia facade
2 parents cb01959 + 1aefeca commit ad3b3e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Inertia.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
/**
88
* @method static void setRootView($name)
9-
* @method static void share($key, $value)
9+
* @method static void share($key, $value = null)
1010
* @method static array getShared($key = null)
1111
* @method static void version($version)
1212
* @method static int|string getVersion()

0 commit comments

Comments
 (0)