@@ -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) |
@@ -16,8 +16,8 @@ |
||
16 | 16 | /** |
17 | 17 | * Add a breadcrumb. |
18 | 18 | * |
19 | - * @param $key |
|
20 | - * @param null $url |
|
19 | + * @param string $key |
|
20 | + * @param string $url |
|
21 | 21 | */ |
22 | 22 | public function add($key, $url) |
23 | 23 | { |
@@ -454,7 +454,7 @@ discard block |
||
454 | 454 | /** |
455 | 455 | * Publish the collection of assets to the path. |
456 | 456 | * |
457 | - * @param $path |
|
457 | + * @param string $path |
|
458 | 458 | * @param $collection |
459 | 459 | * @param $additionalFilters |
460 | 460 | */ |
@@ -647,7 +647,7 @@ discard block |
||
647 | 647 | * Decide whether we need to publish the file |
648 | 648 | * to the path or not. |
649 | 649 | * |
650 | - * @param $path |
|
650 | + * @param string $path |
|
651 | 651 | * @param $collection |
652 | 652 | * @param array $filters |
653 | 653 | * @return bool |
@@ -702,7 +702,7 @@ discard block |
||
702 | 702 | /** |
703 | 703 | * Add a namespace path hint. |
704 | 704 | * |
705 | - * @param $namespace |
|
705 | + * @param string $namespace |
|
706 | 706 | * @param $path |
707 | 707 | * @return $this |
708 | 708 | */ |
@@ -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') |