@@ -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; |
@@ -159,7 +159,6 @@ |
||
| 159 | 159 | /** |
| 160 | 160 | * Set the installed and enabled states. |
| 161 | 161 | * |
| 162 | - * @param array $installed |
|
| 163 | 162 | */ |
| 164 | 163 | public function setStates(array $states) |
| 165 | 164 | { |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | * Find a extension by it's namespace or return a new |
| 41 | 41 | * extension with the given namespace. |
| 42 | 42 | * |
| 43 | - * @param $namespace |
|
| 43 | + * @param string $namespace |
|
| 44 | 44 | * @return ExtensionModel |
| 45 | 45 | */ |
| 46 | 46 | public function findByNamespaceOrNew($namespace) |
@@ -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) |
@@ -39,7 +39,6 @@ |
||
| 39 | 39 | * |
| 40 | 40 | * @param $addon |
| 41 | 41 | * @param null $class |
| 42 | - * @param Command $consoleCommand |
|
| 43 | 42 | */ |
| 44 | 43 | public function __construct($addon, $class = null, Command $command = null) |
| 45 | 44 | { |