@@ -71,7 +71,7 @@ |
||
71 | 71 | /** |
72 | 72 | * Check if a string is in a traversable format. |
73 | 73 | * |
74 | - * @param $target |
|
74 | + * @param string $target |
|
75 | 75 | * @return bool |
76 | 76 | */ |
77 | 77 | protected function isTraversable($target) |
@@ -53,7 +53,7 @@ |
||
53 | 53 | /** |
54 | 54 | * Render a string template. |
55 | 55 | * |
56 | - * @param $template |
|
56 | + * @param string $template |
|
57 | 57 | * @param array $payload |
58 | 58 | * @return string |
59 | 59 | * @throws \Exception |
@@ -147,7 +147,7 @@ |
||
147 | 147 | /** |
148 | 148 | * Get the dropdown position. |
149 | 149 | * |
150 | - * @return array |
|
150 | + * @return string |
|
151 | 151 | */ |
152 | 152 | public function getPosition() |
153 | 153 | { |
@@ -52,7 +52,6 @@ |
||
52 | 52 | /** |
53 | 53 | * Handle the command. |
54 | 54 | * |
55 | - * @param Translator $translator |
|
56 | 55 | * @return string |
57 | 56 | */ |
58 | 57 | public function handle() |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | /** |
127 | 127 | * Set the highlighted flag. |
128 | 128 | * |
129 | - * @param boolean $active |
|
129 | + * @param boolean $highlighted |
|
130 | 130 | * @return $this |
131 | 131 | */ |
132 | 132 | public function setHighlighted($highlighted); |
@@ -157,6 +157,7 @@ discard block |
||
157 | 157 | * Set the buttons. |
158 | 158 | * |
159 | 159 | * @param array|string $buttons |
160 | + * @return void |
|
160 | 161 | */ |
161 | 162 | public function setButtons($buttons); |
162 | 163 | |
@@ -171,6 +172,7 @@ discard block |
||
171 | 172 | * Set the attributes. |
172 | 173 | * |
173 | 174 | * @param array $attributes |
175 | + * @return void |
|
174 | 176 | */ |
175 | 177 | public function setAttributes(array $attributes); |
176 | 178 |
@@ -275,7 +275,6 @@ |
||
275 | 275 | /** |
276 | 276 | * Set the highlighted flag. |
277 | 277 | * |
278 | - * @param boolean $active |
|
279 | 278 | * @return $this |
280 | 279 | */ |
281 | 280 | public function setHighlighted($highlighted) |
@@ -50,7 +50,7 @@ |
||
50 | 50 | * Make the section from it's parameters. |
51 | 51 | * |
52 | 52 | * @param array $parameters |
53 | - * @return mixed |
|
53 | + * @return Contract\SectionInterface |
|
54 | 54 | */ |
55 | 55 | public function make(array $parameters) |
56 | 56 | { |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | /** |
163 | 163 | * Set the form response. |
164 | 164 | * |
165 | - * @param null|false|Response $response |
|
165 | + * @param Response $response |
|
166 | 166 | * @return $this |
167 | 167 | */ |
168 | 168 | public function setResponse(Response $response) |
@@ -310,7 +310,7 @@ discard block |
||
310 | 310 | /** |
311 | 311 | * Get the form content. |
312 | 312 | * |
313 | - * @return null|View |
|
313 | + * @return null|string |
|
314 | 314 | */ |
315 | 315 | public function getContent() |
316 | 316 | { |
@@ -430,7 +430,7 @@ discard block |
||
430 | 430 | * Get an option value. |
431 | 431 | * |
432 | 432 | * @param $key |
433 | - * @param null $default |
|
433 | + * @param string|null $default |
|
434 | 434 | * @return mixed |
435 | 435 | */ |
436 | 436 | public function getOption($key, $default = null) |
@@ -553,7 +553,7 @@ discard block |
||
553 | 553 | * Get a form field. |
554 | 554 | * |
555 | 555 | * @param $fieldSlug |
556 | - * @return FieldType|mixed |
|
556 | + * @return FieldType |
|
557 | 557 | */ |
558 | 558 | public function getField($fieldSlug) |
559 | 559 | { |
@@ -563,7 +563,7 @@ discard block |
||
563 | 563 | /** |
564 | 564 | * Add data to the view data collection. |
565 | 565 | * |
566 | - * @param $key |
|
566 | + * @param string $key |
|
567 | 567 | * @param $value |
568 | 568 | * @return $this |
569 | 569 | */ |
@@ -24,7 +24,6 @@ |
||
24 | 24 | /** |
25 | 25 | * Create a new FormAuthorizer instance. |
26 | 26 | * |
27 | - * @param ModuleCollection $modules |
|
28 | 27 | * @param Authorizer $authorizer |
29 | 28 | */ |
30 | 29 | public function __construct(Authorizer $authorizer) |