@@ -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 | { |
@@ -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') |
@@ -139,7 +139,7 @@ |
||
139 | 139 | /** |
140 | 140 | * Fire field type events. |
141 | 141 | * |
142 | - * @param $trigger |
|
142 | + * @param string $trigger |
|
143 | 143 | * @param array $payload |
144 | 144 | */ |
145 | 145 | public function fireFieldTypeEvents($trigger, $payload = []) |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | * Parse the stream. |
40 | 40 | * |
41 | 41 | * @param StreamInterface $stream |
42 | - * @param $string |
|
42 | + * @param string $string |
|
43 | 43 | */ |
44 | 44 | protected function parseStream(StreamInterface $stream, &$string) |
45 | 45 | { |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | * Parse an assignment field. |
108 | 108 | * |
109 | 109 | * @param FieldInterface $field |
110 | - * @param $string |
|
110 | + * @param string $string |
|
111 | 111 | */ |
112 | 112 | protected function parseField(FieldInterface $field, &$string) |
113 | 113 | { |
@@ -106,7 +106,6 @@ |
||
106 | 106 | /** |
107 | 107 | * Get the name. |
108 | 108 | * |
109 | - * @param null|string $locale |
|
110 | 109 | * @return string |
111 | 110 | */ |
112 | 111 | public function getName() |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | use Closure; |
4 | 4 | use Illuminate\Contracts\Config\Repository; |
5 | -use Illuminate\Contracts\Events\Dispatcher; |
|
6 | 5 | use Illuminate\Foundation\Application; |
7 | 6 | use Illuminate\Http\Request; |
8 | 7 | use Illuminate\Routing\Redirector; |
@@ -20,7 +20,7 @@ |
||
20 | 20 | * |
21 | 21 | * @param \Illuminate\Routing\Route $route |
22 | 22 | * @param \Illuminate\Http\Request $request |
23 | - * @return bool |
|
23 | + * @return integer |
|
24 | 24 | */ |
25 | 25 | public function matches(Route $route, Request $request) |
26 | 26 | { |
@@ -24,7 +24,6 @@ |
||
24 | 24 | use Anomaly\Streams\Platform\Installer\InstallerCollection; |
25 | 25 | use Anomaly\Streams\Platform\Support\Collection; |
26 | 26 | use Illuminate\Console\Command; |
27 | -use Illuminate\Contracts\Config\Repository; |
|
28 | 27 | use Illuminate\Contracts\Events\Dispatcher; |
29 | 28 | use Illuminate\Foundation\Bus\DispatchesJobs; |
30 | 29 |
@@ -30,8 +30,8 @@ discard block |
||
30 | 30 | /** |
31 | 31 | * Create a new Installer instance. |
32 | 32 | * |
33 | - * @param $message |
|
34 | - * @param callable $task |
|
33 | + * @param string $message |
|
34 | + * @param Closure $task |
|
35 | 35 | */ |
36 | 36 | function __construct($message, Closure $task) |
37 | 37 | { |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | /** |
53 | 53 | * Get the task. |
54 | 54 | * |
55 | - * @return callable |
|
55 | + * @return Closure |
|
56 | 56 | */ |
57 | 57 | public function getTask() |
58 | 58 | { |