@@ -40,7 +40,6 @@ public function setRootView(string $name): void
40
40
$ this ->rootView = $ name ;
41
41
}
42
42
43
-
44
43
/**
45
44
* @param string|array|Arrayable $key
46
45
* @param mixed $value
@@ -57,7 +56,6 @@ public function share($key, $value = null): void
57
56
}
58
57
59
58
/**
60
- * @param string|null $key
61
59
* @param mixed $default
62
60
* @return mixed
63
61
*/
@@ -70,7 +68,6 @@ public function getShared(?string $key = null, $default = null)
70
68
return $ this ->sharedProps ;
71
69
}
72
70
73
-
74
71
/**
75
72
* @return void
76
73
*/
@@ -81,16 +78,12 @@ public function flushShared()
81
78
82
79
/**
83
80
* @param Closure|string|null $version
84
- * @return void
85
81
*/
86
82
public function version ($ version ): void
87
83
{
88
84
$ this ->version = $ version ;
89
85
}
90
86
91
- /**
92
- * @return string
93
- */
94
87
public function getVersion (): string
95
88
{
96
89
$ version = $ this ->version instanceof Closure
@@ -100,17 +93,13 @@ public function getVersion(): string
100
93
return (string ) $ version ;
101
94
}
102
95
103
- /**
104
- * @return void
105
- */
106
96
public function clearHistory (): void
107
97
{
108
98
session (['inertia.clear_history ' => true ]);
109
99
}
110
100
111
101
/**
112
- * @param bool $encrypt
113
- * @return void
102
+ * @param bool $encrypt
114
103
*/
115
104
public function encryptHistory ($ encrypt = true ): void
116
105
{
@@ -125,38 +114,26 @@ public function lazy(callable $callback): LazyProp
125
114
return new LazyProp ($ callback );
126
115
}
127
116
128
- /**
129
- * @param callable $callback
130
- * @return OptionalProp
131
- */
132
117
public function optional (callable $ callback ): OptionalProp
133
118
{
134
119
return new OptionalProp ($ callback );
135
120
}
136
121
137
- /**
138
- *
139
- * @param callable $callback
140
- * @param string $group
141
- * @return DeferProp
142
- */
143
122
public function defer (callable $ callback , string $ group = 'default ' ): DeferProp
144
123
{
145
124
return new DeferProp ($ callback , $ group );
146
125
}
147
126
148
127
/**
149
128
* @param mixed $value
150
- * @return MergeProp
151
129
*/
152
130
public function merge ($ value ): MergeProp
153
131
{
154
132
return new MergeProp ($ value );
155
133
}
156
134
157
135
/**
158
- * @param mixed $value
159
- * @return MergeProp
136
+ * @param mixed $value
160
137
*/
161
138
public function deepMerge ($ value ): MergeProp
162
139
{
@@ -165,17 +142,14 @@ public function deepMerge($value): MergeProp
165
142
166
143
/**
167
144
* @param mixed $value
168
- * @return AlwaysProp
169
145
*/
170
146
public function always ($ value ): AlwaysProp
171
147
{
172
148
return new AlwaysProp ($ value );
173
149
}
174
150
175
151
/**
176
- * @param string $component
177
- * @param array|Arrayable $props
178
- * @return Response
152
+ * @param array|Arrayable $props
179
153
*/
180
154
public function render (string $ component , $ props = []): Response
181
155
{
@@ -194,7 +168,6 @@ public function render(string $component, $props = []): Response
194
168
195
169
/**
196
170
* @param string|SymfonyRedirect $url
197
- * @return SymfonyResponse
198
171
*/
199
172
public function location ($ url ): SymfonyResponse
200
173
{
0 commit comments