@@ -115,7 +115,7 @@ |
||
| 115 | 115 | * @param $addon |
| 116 | 116 | * @param $namespace |
| 117 | 117 | * @param $stream |
| 118 | - * @return \Illuminate\Http\RedirectResponse |
|
| 118 | + * @return \Symfony\Component\HttpFoundation\StreamedResponse |
|
| 119 | 119 | */ |
| 120 | 120 | public function export($addon, $namespace, $stream) |
| 121 | 121 | { |
@@ -107,7 +107,7 @@ |
||
| 107 | 107 | /** |
| 108 | 108 | * Return if a macro exists or not. |
| 109 | 109 | * |
| 110 | - * @param $macro |
|
| 110 | + * @param string $macro |
|
| 111 | 111 | * @return bool |
| 112 | 112 | */ |
| 113 | 113 | public function isMacro($macro) |
@@ -128,7 +128,7 @@ |
||
| 128 | 128 | /** |
| 129 | 129 | * Set the constraint. |
| 130 | 130 | * |
| 131 | - * @param $constraint |
|
| 131 | + * @param string $constraint |
|
| 132 | 132 | * @return $this |
| 133 | 133 | */ |
| 134 | 134 | public function setConstraint($constraint) |
@@ -57,7 +57,6 @@ |
||
| 57 | 57 | /** |
| 58 | 58 | * Handle the command. |
| 59 | 59 | * |
| 60 | - * @param AddonCollection $addons |
|
| 61 | 60 | */ |
| 62 | 61 | public function handle() |
| 63 | 62 | { |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | /** |
| 30 | 30 | * Create a new SetAddonPath instance. |
| 31 | 31 | * |
| 32 | - * @param ResetCommand $command |
|
| 32 | + * @param Command $command |
|
| 33 | 33 | */ |
| 34 | 34 | public function __construct(Command $command) |
| 35 | 35 | { |
@@ -1,7 +1,6 @@ |
||
| 1 | 1 | <?php namespace Anomaly\Streams\Platform\Database\Migration\Console\Command; |
| 2 | 2 | |
| 3 | 3 | use Anomaly\Streams\Platform\Addon\AddonCollection; |
| 4 | -use Anomaly\Streams\Platform\Addon\Command\GetAddon; |
|
| 5 | 4 | use Illuminate\Foundation\Bus\DispatchesJobs; |
| 6 | 5 | use Illuminate\Console\Command; |
| 7 | 6 | |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | /** |
| 28 | 28 | * Create a new SetAddonPath instance. |
| 29 | 29 | * |
| 30 | - * @param ResetCommand $command |
|
| 30 | + * @param Command $command |
|
| 31 | 31 | * @param InputInterface $input |
| 32 | 32 | */ |
| 33 | 33 | public function __construct(Command $command, InputInterface $input) |
@@ -17,7 +17,6 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * Return the sorted entries. |
| 19 | 19 | * |
| 20 | - * @param bool|false $reverse |
|
| 21 | 20 | * @return static |
| 22 | 21 | */ |
| 23 | 22 | public function sorted($direction = 'asc') |
@@ -223,7 +223,7 @@ discard block |
||
| 223 | 223 | /** |
| 224 | 224 | * Set a field value. |
| 225 | 225 | * |
| 226 | - * @param $fieldSlug |
|
| 226 | + * @param string $fieldSlug |
|
| 227 | 227 | * @param $value |
| 228 | 228 | * @param null $locale |
| 229 | 229 | * @return $this |
@@ -633,7 +633,7 @@ discard block |
||
| 633 | 633 | * Return whether or not the assignment for |
| 634 | 634 | * the given field slug is translatable. |
| 635 | 635 | * |
| 636 | - * @param $fieldSlug |
|
| 636 | + * @param string $fieldSlug |
|
| 637 | 637 | * @return bool |
| 638 | 638 | */ |
| 639 | 639 | public function assignmentIsTranslatable($fieldSlug) |
@@ -105,7 +105,6 @@ |
||
| 105 | 105 | /** |
| 106 | 106 | * Get the name. |
| 107 | 107 | * |
| 108 | - * @param null|string $locale |
|
| 109 | 108 | * @return string |
| 110 | 109 | */ |
| 111 | 110 | public function getName() |