@@ -186,7 +186,7 @@ |
||
186 | 186 | * Delete a record. |
187 | 187 | * |
188 | 188 | * @param EloquentModel $entry |
189 | - * @return bool |
|
189 | + * @return boolean|null |
|
190 | 190 | */ |
191 | 191 | public function delete(EloquentModel $entry) |
192 | 192 | { |
@@ -15,8 +15,8 @@ |
||
15 | 15 | /** |
16 | 16 | * Add a breadcrumb. |
17 | 17 | * |
18 | - * @param $key |
|
19 | - * @param null $url |
|
18 | + * @param string $key |
|
19 | + * @param string $url |
|
20 | 20 | */ |
21 | 21 | public function add($key, $url = null) |
22 | 22 | { |
@@ -49,7 +49,7 @@ |
||
49 | 49 | * Make the section from it's parameters. |
50 | 50 | * |
51 | 51 | * @param array $parameters |
52 | - * @return mixed |
|
52 | + * @return Contract\SectionInterface |
|
53 | 53 | */ |
54 | 54 | public function make(array $parameters) |
55 | 55 | { |
@@ -295,7 +295,7 @@ |
||
295 | 295 | /** |
296 | 296 | * Add data to the data collection. |
297 | 297 | * |
298 | - * @param $key |
|
298 | + * @param string $key |
|
299 | 299 | * @param $value |
300 | 300 | * @return $this |
301 | 301 | */ |
@@ -253,7 +253,7 @@ discard block |
||
253 | 253 | /** |
254 | 254 | * Set the disabled flag. |
255 | 255 | * |
256 | - * @param $disabled |
|
256 | + * @param boolean $disabled |
|
257 | 257 | * @return $this |
258 | 258 | */ |
259 | 259 | public function setDisabled($disabled) |
@@ -394,7 +394,7 @@ discard block |
||
394 | 394 | /** |
395 | 395 | * Set the field slug. |
396 | 396 | * |
397 | - * @param $field |
|
397 | + * @param string $field |
|
398 | 398 | * @return $this |
399 | 399 | */ |
400 | 400 | public function setField($field) |
@@ -456,7 +456,7 @@ discard block |
||
456 | 456 | /** |
457 | 457 | * Get the field slug. |
458 | 458 | * |
459 | - * @return mixed |
|
459 | + * @return null|string |
|
460 | 460 | */ |
461 | 461 | public function getField() |
462 | 462 | { |
@@ -639,7 +639,7 @@ discard block |
||
639 | 639 | /** |
640 | 640 | * Set the placeholder. |
641 | 641 | * |
642 | - * @param $placeholder |
|
642 | + * @param null|string $placeholder |
|
643 | 643 | * @return $this |
644 | 644 | */ |
645 | 645 | public function setPlaceholder($placeholder) |
@@ -732,7 +732,7 @@ discard block |
||
732 | 732 | /** |
733 | 733 | * Set the prefix. |
734 | 734 | * |
735 | - * @param $prefix |
|
735 | + * @param string|null $prefix |
|
736 | 736 | * @return $this |
737 | 737 | */ |
738 | 738 | public function setPrefix($prefix) |
@@ -801,7 +801,7 @@ discard block |
||
801 | 801 | /** |
802 | 802 | * Set the required flag. |
803 | 803 | * |
804 | - * @param $required |
|
804 | + * @param boolean $required |
|
805 | 805 | * @return $this |
806 | 806 | */ |
807 | 807 | public function setRequired($required) |
@@ -875,7 +875,7 @@ discard block |
||
875 | 875 | /** |
876 | 876 | * Get the column length. |
877 | 877 | * |
878 | - * @return string |
|
878 | + * @return null|integer |
|
879 | 879 | */ |
880 | 880 | public function getColumnLength() |
881 | 881 | { |
@@ -36,7 +36,6 @@ |
||
36 | 36 | * Handle the command. |
37 | 37 | * |
38 | 38 | * @param Request $request |
39 | - * @param Container $container |
|
40 | 39 | */ |
41 | 40 | public function handle(Request $request, ViewHandler $handler) |
42 | 41 | { |
@@ -1,7 +1,6 @@ |
||
1 | 1 | <?php namespace Anomaly\Streams\Platform\Addon\Console; |
2 | 2 | |
3 | 3 | use Anomaly\Streams\Platform\Addon\AddonManager; |
4 | -use Anomaly\Streams\Platform\Addon\Command\RegisterAddons; |
|
5 | 4 | use Anomaly\Streams\Platform\Addon\Console\Command\MakeAddonPaths; |
6 | 5 | use Anomaly\Streams\Platform\Addon\Console\Command\ScaffoldTheme; |
7 | 6 | use Anomaly\Streams\Platform\Addon\Console\Command\WriteAddonClass; |
@@ -154,7 +154,7 @@ |
||
154 | 154 | /** |
155 | 155 | * Get a namespaced key string. |
156 | 156 | * |
157 | - * @param null $key |
|
157 | + * @param string|null $key |
|
158 | 158 | * @return string |
159 | 159 | */ |
160 | 160 | public function getNamespace($key = null) |
@@ -45,7 +45,6 @@ |
||
45 | 45 | /** |
46 | 46 | * Handle the command. |
47 | 47 | * |
48 | - * @param Parser $parser |
|
49 | 48 | * @param Filesystem $filesystem |
50 | 49 | */ |
51 | 50 | public function handle(Filesystem $filesystem) |