@@ -13,7 +13,7 @@ |
||
13 | 13 | * @param array $forms |
14 | 14 | * @param null $active |
15 | 15 | * |
16 | - * @return mixed |
|
16 | + * @return ContainsForms |
|
17 | 17 | */ |
18 | 18 | public static function forms($forms, $active = null) |
19 | 19 | { |
@@ -144,7 +144,7 @@ discard block |
||
144 | 144 | /** |
145 | 145 | * Get form title. |
146 | 146 | * |
147 | - * @return mixed |
|
147 | + * @return string |
|
148 | 148 | */ |
149 | 149 | public function title() |
150 | 150 | { |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | /** |
155 | 155 | * Get form description. |
156 | 156 | * |
157 | - * @return mixed |
|
157 | + * @return string |
|
158 | 158 | */ |
159 | 159 | public function description() |
160 | 160 | { |
@@ -170,7 +170,7 @@ discard block |
||
170 | 170 | } |
171 | 171 | |
172 | 172 | /** |
173 | - * @return array |
|
173 | + * @return Form |
|
174 | 174 | */ |
175 | 175 | public function confirm($message) |
176 | 176 | { |
@@ -229,7 +229,7 @@ discard block |
||
229 | 229 | /** |
230 | 230 | * Add form attributes. |
231 | 231 | * |
232 | - * @param string|array $attr |
|
232 | + * @param string $attr |
|
233 | 233 | * @param string $value |
234 | 234 | * |
235 | 235 | * @return $this |
@@ -391,7 +391,7 @@ discard block |
||
391 | 391 | /** |
392 | 392 | * Get all fields of form. |
393 | 393 | * |
394 | - * @return Field[] |
|
394 | + * @return \Illuminate\Support\Collection |
|
395 | 395 | */ |
396 | 396 | public function fields() |
397 | 397 | { |
@@ -57,6 +57,10 @@ |
||
57 | 57 | }); |
58 | 58 | } |
59 | 59 | |
60 | + /** |
|
61 | + * @param string $title |
|
62 | + * @param \Illuminate\Support\Collection $diff |
|
63 | + */ |
|
60 | 64 | protected function printDiff($title, $diff, $error = false) |
61 | 65 | { |
62 | 66 | if ($diff->isEmpty()) { |
@@ -67,7 +67,6 @@ |
||
67 | 67 | } |
68 | 68 | |
69 | 69 | /** |
70 | - * @param bool $multiple |
|
71 | 70 | * |
72 | 71 | * @return string |
73 | 72 | */ |
@@ -315,7 +315,7 @@ |
||
315 | 315 | } |
316 | 316 | |
317 | 317 | /** |
318 | - * @param $component |
|
318 | + * @param string $component |
|
319 | 319 | */ |
320 | 320 | public static function component($component, $data = []) |
321 | 321 | { |
@@ -59,7 +59,6 @@ |
||
59 | 59 | } |
60 | 60 | |
61 | 61 | /** |
62 | - * @param string $wrap |
|
63 | 62 | */ |
64 | 63 | protected function addPickBtn($btn) |
65 | 64 | { |
@@ -55,7 +55,6 @@ |
||
55 | 55 | } |
56 | 56 | |
57 | 57 | /** |
58 | - * @param int $multiple |
|
59 | 58 | * |
60 | 59 | * @return string |
61 | 60 | */ |
@@ -55,7 +55,6 @@ |
||
55 | 55 | } |
56 | 56 | |
57 | 57 | /** |
58 | - * @param int $multiple |
|
59 | 58 | * |
60 | 59 | * @return string |
61 | 60 | */ |
@@ -70,7 +70,6 @@ discard block |
||
70 | 70 | /** |
71 | 71 | * Grid inline date picker. |
72 | 72 | * |
73 | - * @param string $format |
|
74 | 73 | * |
75 | 74 | * @return $this |
76 | 75 | */ |
@@ -82,7 +81,6 @@ discard block |
||
82 | 81 | /** |
83 | 82 | * Grid inline time picker. |
84 | 83 | * |
85 | - * @param string $format |
|
86 | 84 | * |
87 | 85 | * @return $this |
88 | 86 | */ |