@@ -1,7 +1,6 @@ |
||
1 | 1 | <?php namespace Anomaly\Streams\Platform\Addon; |
2 | 2 | |
3 | 3 | use Anomaly\Streams\Platform\Traits\FiresCallbacks; |
4 | -use Illuminate\Contracts\Container\Container; |
|
5 | 4 | use Illuminate\Contracts\Support\Arrayable; |
6 | 5 | use Illuminate\Foundation\Bus\DispatchesJobs; |
7 | 6 | use Robbo\Presenter\PresentableInterface; |
@@ -140,7 +140,7 @@ |
||
140 | 140 | /** |
141 | 141 | * Get a namespaced key string. |
142 | 142 | * |
143 | - * @param null $key |
|
143 | + * @param string|null $key |
|
144 | 144 | * @return string |
145 | 145 | */ |
146 | 146 | public function getNamespace($key = null) |
@@ -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\WriteAddonClass; |
7 | 6 | use Anomaly\Streams\Platform\Addon\Console\Command\WriteAddonComposer; |
@@ -240,7 +240,7 @@ discard block |
||
240 | 240 | /** |
241 | 241 | * Set the disabled flag. |
242 | 242 | * |
243 | - * @param $disabled |
|
243 | + * @param boolean $disabled |
|
244 | 244 | * @return $this |
245 | 245 | */ |
246 | 246 | public function setDisabled($disabled) |
@@ -368,7 +368,7 @@ discard block |
||
368 | 368 | /** |
369 | 369 | * Set the field slug. |
370 | 370 | * |
371 | - * @param $field |
|
371 | + * @param string $field |
|
372 | 372 | * @return $this |
373 | 373 | */ |
374 | 374 | public function setField($field) |
@@ -430,7 +430,7 @@ discard block |
||
430 | 430 | /** |
431 | 431 | * Get the field slug. |
432 | 432 | * |
433 | - * @return mixed |
|
433 | + * @return null|string |
|
434 | 434 | */ |
435 | 435 | public function getField() |
436 | 436 | { |
@@ -591,7 +591,7 @@ discard block |
||
591 | 591 | /** |
592 | 592 | * Set the placeholder. |
593 | 593 | * |
594 | - * @param $placeholder |
|
594 | + * @param null|string $placeholder |
|
595 | 595 | * @return $this |
596 | 596 | */ |
597 | 597 | public function setPlaceholder($placeholder) |
@@ -637,7 +637,7 @@ discard block |
||
637 | 637 | /** |
638 | 638 | * Set the prefix. |
639 | 639 | * |
640 | - * @param $prefix |
|
640 | + * @param string $prefix |
|
641 | 641 | * @return $this |
642 | 642 | */ |
643 | 643 | public function setPrefix($prefix) |
@@ -706,7 +706,7 @@ discard block |
||
706 | 706 | /** |
707 | 707 | * Set the required flag. |
708 | 708 | * |
709 | - * @param $required |
|
709 | + * @param boolean $required |
|
710 | 710 | * @return $this |
711 | 711 | */ |
712 | 712 | public function setRequired($required) |
@@ -770,7 +770,7 @@ discard block |
||
770 | 770 | /** |
771 | 771 | * Get the column length. |
772 | 772 | * |
773 | - * @return string |
|
773 | + * @return null|integer |
|
774 | 774 | */ |
775 | 775 | public function getColumnLength() |
776 | 776 | { |
@@ -164,7 +164,6 @@ |
||
164 | 164 | /** |
165 | 165 | * Set the installed and enabled states. |
166 | 166 | * |
167 | - * @param array $installed |
|
168 | 167 | */ |
169 | 168 | public function setStates(array $states) |
170 | 169 | { |
@@ -44,7 +44,6 @@ |
||
44 | 44 | * Enable a module. |
45 | 45 | * |
46 | 46 | * @param Module $module |
47 | - * @param bool $seed |
|
48 | 47 | */ |
49 | 48 | public function enable(Module $module) |
50 | 49 | { |
@@ -40,7 +40,7 @@ |
||
40 | 40 | * Find a module by it's namespace or return a new |
41 | 41 | * module with the given namespace. |
42 | 42 | * |
43 | - * @param $namespace |
|
43 | + * @param string $namespace |
|
44 | 44 | * @return ModuleModel |
45 | 45 | */ |
46 | 46 | public function findByNamespaceOrNew($namespace) |
@@ -39,7 +39,6 @@ discard block |
||
39 | 39 | /** |
40 | 40 | * Create a new Application instance. |
41 | 41 | * |
42 | - * @param ApplicationRepository $model |
|
43 | 42 | */ |
44 | 43 | public function __construct(ApplicationRepository $applications) |
45 | 44 | { |
@@ -69,7 +68,7 @@ discard block |
||
69 | 68 | /** |
70 | 69 | * Get the reference. |
71 | 70 | * |
72 | - * @return null |
|
71 | + * @return string |
|
73 | 72 | */ |
74 | 73 | public function getReference() |
75 | 74 | { |
@@ -43,7 +43,7 @@ |
||
43 | 43 | /** |
44 | 44 | * Parse some content. |
45 | 45 | * |
46 | - * @param $content |
|
46 | + * @param string $content |
|
47 | 47 | * @return string |
48 | 48 | */ |
49 | 49 | public function parse($content) |
@@ -28,7 +28,6 @@ |
||
28 | 28 | /** |
29 | 29 | * Create a new ThemeVariablesHaveLoaded instance. |
30 | 30 | * |
31 | - * @param ThemeCollection $themes |
|
32 | 31 | */ |
33 | 32 | function __construct(Collection $variables) |
34 | 33 | { |