@@ -74,7 +74,7 @@ |
||
74 | 74 | /** |
75 | 75 | * @param $id |
76 | 76 | * |
77 | - * @return $this|\Illuminate\Http\RedirectResponse |
|
77 | + * @return \Symfony\Component\HttpFoundation\Response |
|
78 | 78 | */ |
79 | 79 | public function update($id) |
80 | 80 | { |
@@ -204,7 +204,7 @@ discard block |
||
204 | 204 | * |
205 | 205 | * @param $id |
206 | 206 | * |
207 | - * @return mixed |
|
207 | + * @return boolean |
|
208 | 208 | */ |
209 | 209 | public function destroy($id) |
210 | 210 | { |
@@ -279,7 +279,7 @@ discard block |
||
279 | 279 | * Prepare input data for insert or update. |
280 | 280 | * |
281 | 281 | * @param array $data |
282 | - * @param callable $callback |
|
282 | + * @param Closure $callback |
|
283 | 283 | */ |
284 | 284 | protected function prepare($data = [], Closure $callback = null) |
285 | 285 | { |
@@ -376,7 +376,7 @@ discard block |
||
376 | 376 | * |
377 | 377 | * @param int $id |
378 | 378 | * |
379 | - * @return $this|\Illuminate\Http\RedirectResponse |
|
379 | + * @return \Symfony\Component\HttpFoundation\Response |
|
380 | 380 | */ |
381 | 381 | public function update($id) |
382 | 382 | { |
@@ -445,7 +445,7 @@ discard block |
||
445 | 445 | * @param int $id |
446 | 446 | * @param array $input |
447 | 447 | * |
448 | - * @return array |
|
448 | + * @return boolean |
|
449 | 449 | */ |
450 | 450 | protected function handleOrderable($id, array $input = []) |
451 | 451 | { |
@@ -585,7 +585,7 @@ discard block |
||
585 | 585 | /** |
586 | 586 | * Set saving callback. |
587 | 587 | * |
588 | - * @param callable $callback |
|
588 | + * @param Closure $callback |
|
589 | 589 | * |
590 | 590 | * @return void |
591 | 591 | */ |
@@ -597,7 +597,7 @@ discard block |
||
597 | 597 | /** |
598 | 598 | * Set saved callback. |
599 | 599 | * |
600 | - * @param callable $callback |
|
600 | + * @param Closure $callback |
|
601 | 601 | * |
602 | 602 | * @return void |
603 | 603 | */ |
@@ -853,6 +853,9 @@ discard block |
||
853 | 853 | } |
854 | 854 | } |
855 | 855 | |
856 | + /** |
|
857 | + * @param string $method |
|
858 | + */ |
|
856 | 859 | public static function findFieldClass($method) |
857 | 860 | { |
858 | 861 | $className = __NAMESPACE__.'\\Form\\Field\\'.ucfirst($method); |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | * |
13 | 13 | * @param $permission |
14 | 14 | * |
15 | - * @return true |
|
15 | + * @return boolean|null |
|
16 | 16 | */ |
17 | 17 | public static function check($permission) |
18 | 18 | { |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | * |
31 | 31 | * @param $roles |
32 | 32 | * |
33 | - * @return true |
|
33 | + * @return boolean|null |
|
34 | 34 | */ |
35 | 35 | public static function allow($roles) |
36 | 36 | { |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | * |
49 | 49 | * @param $roles |
50 | 50 | * |
51 | - * @return true |
|
51 | + * @return boolean|null |
|
52 | 52 | */ |
53 | 53 | public static function deny($roles) |
54 | 54 | { |
@@ -248,7 +248,7 @@ discard block |
||
248 | 248 | /** |
249 | 249 | * Get or set rules. |
250 | 250 | * |
251 | - * @param null $rules |
|
251 | + * @param string $rules |
|
252 | 252 | * |
253 | 253 | * @return $this |
254 | 254 | */ |
@@ -268,7 +268,7 @@ discard block |
||
268 | 268 | /** |
269 | 269 | * Set or get value of the field. |
270 | 270 | * |
271 | - * @param null $value |
|
271 | + * @param string $value |
|
272 | 272 | * |
273 | 273 | * @return mixed |
274 | 274 | */ |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | /** |
42 | 42 | * Set box content. |
43 | 43 | * |
44 | - * @param $content |
|
44 | + * @param string $content |
|
45 | 45 | * |
46 | 46 | * @return $this |
47 | 47 | */ |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | /** |
96 | 96 | * Set box style. |
97 | 97 | * |
98 | - * @param $styles |
|
98 | + * @param string $styles |
|
99 | 99 | * |
100 | 100 | * @return $this|Box |
101 | 101 | */ |
@@ -24,7 +24,7 @@ |
||
24 | 24 | /** |
25 | 25 | * Callout constructor. |
26 | 26 | * |
27 | - * @param $content |
|
27 | + * @param string $content |
|
28 | 28 | * @param string $title |
29 | 29 | * @param string $style |
30 | 30 | */ |