@@ -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; |
@@ -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) |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | /** |
| 34 | 34 | * Return all modules in the database. |
| 35 | 35 | * |
| 36 | - * @return mixed |
|
| 36 | + * @return \Illuminate\Database\Eloquent\Collection |
|
| 37 | 37 | */ |
| 38 | 38 | public function all() |
| 39 | 39 | { |
@@ -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 | { |
@@ -217,7 +217,7 @@ discard block |
||
| 217 | 217 | * |
| 218 | 218 | * @param $url |
| 219 | 219 | * @param null $path |
| 220 | - * @return null|string |
|
| 220 | + * @return string |
|
| 221 | 221 | */ |
| 222 | 222 | public function download($url, $path = null) |
| 223 | 223 | { |
@@ -440,7 +440,7 @@ discard block |
||
| 440 | 440 | /** |
| 441 | 441 | * Publish the collection of assets to the path. |
| 442 | 442 | * |
| 443 | - * @param $path |
|
| 443 | + * @param string $path |
|
| 444 | 444 | * @param $collection |
| 445 | 445 | * @param $additionalFilters |
| 446 | 446 | */ |
@@ -633,7 +633,7 @@ discard block |
||
| 633 | 633 | * Decide whether we need to publish the file |
| 634 | 634 | * to the path or not. |
| 635 | 635 | * |
| 636 | - * @param $path |
|
| 636 | + * @param string $path |
|
| 637 | 637 | * @param $collection |
| 638 | 638 | * @param array $filters |
| 639 | 639 | * @return bool |
@@ -688,7 +688,7 @@ discard block |
||
| 688 | 688 | /** |
| 689 | 689 | * Add a namespace path hint. |
| 690 | 690 | * |
| 691 | - * @param $namespace |
|
| 691 | + * @param string $namespace |
|
| 692 | 692 | * @param $path |
| 693 | 693 | * @return $this |
| 694 | 694 | */ |