@@ -317,7 +317,7 @@ |
||
317 | 317 | * @param string $method |
318 | 318 | * @param array $arguments |
319 | 319 | * |
320 | - * @return bool|mixed |
|
320 | + * @return Field |
|
321 | 321 | */ |
322 | 322 | public function __call($method, $arguments = []) |
323 | 323 | { |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | /** |
89 | 89 | * Get name of this column. |
90 | 90 | * |
91 | - * @return mixed |
|
91 | + * @return string |
|
92 | 92 | */ |
93 | 93 | public function getName() |
94 | 94 | { |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | /** |
113 | 113 | * Get label of the column. |
114 | 114 | * |
115 | - * @return mixed |
|
115 | + * @return string |
|
116 | 116 | */ |
117 | 117 | public function getLabel() |
118 | 118 | { |
@@ -138,7 +138,7 @@ |
||
138 | 138 | /** |
139 | 139 | * Fill fields to panel. |
140 | 140 | * |
141 | - * @param []Field $fields |
|
141 | + * @param Collection $fields |
|
142 | 142 | * |
143 | 143 | * @return $this |
144 | 144 | */ |
@@ -52,7 +52,7 @@ |
||
52 | 52 | /** |
53 | 53 | * Add a batch action. |
54 | 54 | * |
55 | - * @param $title |
|
55 | + * @param BatchDelete $title |
|
56 | 56 | * @param BatchAction|null $action |
57 | 57 | * |
58 | 58 | * @return $this |
@@ -411,7 +411,7 @@ discard block |
||
411 | 411 | /** |
412 | 412 | * Resolve perPage for pagination. |
413 | 413 | * |
414 | - * @param array|null $paginate |
|
414 | + * @param Model $paginate |
|
415 | 415 | * |
416 | 416 | * @return array |
417 | 417 | */ |
@@ -441,7 +441,7 @@ discard block |
||
441 | 441 | /** |
442 | 442 | * Find query by method name. |
443 | 443 | * |
444 | - * @param $method |
|
444 | + * @param string $method |
|
445 | 445 | * |
446 | 446 | * @return static |
447 | 447 | */ |
@@ -534,7 +534,7 @@ discard block |
||
534 | 534 | * |
535 | 535 | * @throws \Exception |
536 | 536 | * |
537 | - * @return array |
|
537 | + * @return string[] |
|
538 | 538 | */ |
539 | 539 | protected function joinParameters(Relation $relation) |
540 | 540 | { |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | * |
35 | 35 | * @param Request $request |
36 | 36 | * |
37 | - * @return mixed |
|
37 | + * @return \Illuminate\Http\RedirectResponse |
|
38 | 38 | */ |
39 | 39 | public function postLogin(Request $request) |
40 | 40 | { |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | /** |
63 | 63 | * User logout. |
64 | 64 | * |
65 | - * @return Redirect |
|
65 | + * @return \Illuminate\Http\RedirectResponse |
|
66 | 66 | */ |
67 | 67 | public function getLogout(Request $request) |
68 | 68 | { |
@@ -170,7 +170,7 @@ discard block |
||
170 | 170 | * |
171 | 171 | * @param \Illuminate\Http\Request $request |
172 | 172 | * |
173 | - * @return \Illuminate\Http\Response |
|
173 | + * @return \Illuminate\Http\RedirectResponse |
|
174 | 174 | */ |
175 | 175 | protected function sendLoginResponse(Request $request) |
176 | 176 | { |
@@ -265,7 +265,7 @@ discard block |
||
265 | 265 | * |
266 | 266 | * @param $id |
267 | 267 | * |
268 | - * @return mixed |
|
268 | + * @return boolean |
|
269 | 269 | */ |
270 | 270 | public function destroy($id) |
271 | 271 | { |
@@ -369,7 +369,7 @@ discard block |
||
369 | 369 | * |
370 | 370 | * @param array $data |
371 | 371 | * |
372 | - * @return mixed |
|
372 | + * @return Response|null |
|
373 | 373 | */ |
374 | 374 | protected function prepare($data = []) |
375 | 375 | { |
@@ -429,7 +429,7 @@ discard block |
||
429 | 429 | /** |
430 | 430 | * Call submitted callback. |
431 | 431 | * |
432 | - * @return mixed |
|
432 | + * @return Response|null |
|
433 | 433 | */ |
434 | 434 | protected function callSubmitted() |
435 | 435 | { |
@@ -443,7 +443,7 @@ discard block |
||
443 | 443 | /** |
444 | 444 | * Call saving callback. |
445 | 445 | * |
446 | - * @return mixed |
|
446 | + * @return Response|null |
|
447 | 447 | */ |
448 | 448 | protected function callSaving() |
449 | 449 | { |
@@ -457,7 +457,7 @@ discard block |
||
457 | 457 | /** |
458 | 458 | * Callback after saving a Model. |
459 | 459 | * |
460 | - * @return mixed|null |
|
460 | + * @return Response|null |
|
461 | 461 | */ |
462 | 462 | protected function callSaved() |
463 | 463 | { |
@@ -551,7 +551,7 @@ discard block |
||
551 | 551 | /** |
552 | 552 | * Get RedirectResponse after update. |
553 | 553 | * |
554 | - * @param mixed $key |
|
554 | + * @param integer $key |
|
555 | 555 | * |
556 | 556 | * @return \Illuminate\Http\RedirectResponse |
557 | 557 | */ |
@@ -208,7 +208,7 @@ discard block |
||
208 | 208 | /** |
209 | 209 | * Field constructor. |
210 | 210 | * |
211 | - * @param $column |
|
211 | + * @param string $column |
|
212 | 212 | * @param array $arguments |
213 | 213 | */ |
214 | 214 | public function __construct($column, $arguments = []) |
@@ -342,7 +342,7 @@ discard block |
||
342 | 342 | /** |
343 | 343 | * custom format form column data when edit. |
344 | 344 | * |
345 | - * @param Closure $call |
|
345 | + * @param \Closure $call |
|
346 | 346 | * |
347 | 347 | * @return [null] |
348 | 348 | */ |
@@ -422,7 +422,7 @@ discard block |
||
422 | 422 | /** |
423 | 423 | * Get or set rules. |
424 | 424 | * |
425 | - * @param null $rules |
|
425 | + * @param string $rules |
|
426 | 426 | * @param array $messages |
427 | 427 | * |
428 | 428 | * @return $this |
@@ -520,7 +520,7 @@ discard block |
||
520 | 520 | /** |
521 | 521 | * Set or get value of the field. |
522 | 522 | * |
523 | - * @param null $value |
|
523 | + * @param string $value |
|
524 | 524 | * |
525 | 525 | * @return mixed |
526 | 526 | */ |
@@ -673,7 +673,7 @@ discard block |
||
673 | 673 | /** |
674 | 674 | * Add html attributes to elements. |
675 | 675 | * |
676 | - * @param array|string $attribute |
|
676 | + * @param string $attribute |
|
677 | 677 | * @param mixed $value |
678 | 678 | * |
679 | 679 | * @return $this |