@@ -25,7 +25,7 @@ |
||
25 | 25 | /** |
26 | 26 | * Create a new command instance. |
27 | 27 | * |
28 | - * @param \Caffeinated\Modules\Handlers\ModuleMakeHandler $handler |
|
28 | + * @param ModuleMakeHandler $handler |
|
29 | 29 | */ |
30 | 30 | public function __construct(ModuleMakeHandler $handler) |
31 | 31 | { |
@@ -90,7 +90,7 @@ |
||
90 | 90 | * |
91 | 91 | * @param \Caffeinated\Modules\Console\ModuleMakeCommand $console |
92 | 92 | * @param string $slug |
93 | - * @return bool |
|
93 | + * @return false|null |
|
94 | 94 | */ |
95 | 95 | public function fire(Command $console, $slug) |
96 | 96 | { |
@@ -15,7 +15,7 @@ |
||
15 | 15 | /** |
16 | 16 | * Create a new IdentifyModule instance. |
17 | 17 | * |
18 | - * @param Caffeinated\Modules $module |
|
18 | + * @param Modules $module |
|
19 | 19 | */ |
20 | 20 | public function __construct(Modules $module) |
21 | 21 | { |
@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | /** |
9 | 9 | * Get all modules. |
10 | 10 | * |
11 | - * @return Collection |
|
11 | + * @return \Illuminate\Support\Collection |
|
12 | 12 | */ |
13 | 13 | public function all() |
14 | 14 | { |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | /** |
26 | 26 | * Get all module slugs. |
27 | 27 | * |
28 | - * @return Collection |
|
28 | + * @return \Illuminate\Support\Collection |
|
29 | 29 | */ |
30 | 30 | public function slugs() |
31 | 31 | { |
@@ -42,8 +42,8 @@ discard block |
||
42 | 42 | * Get modules based on where clause. |
43 | 43 | * |
44 | 44 | * @param string $key |
45 | - * @param mixed $value |
|
46 | - * @return Collection |
|
45 | + * @param boolean $value |
|
46 | + * @return \Illuminate\Support\Collection |
|
47 | 47 | */ |
48 | 48 | public function where($key, $value) |
49 | 49 | { |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | * Sort modules by given key in ascending order. |
57 | 57 | * |
58 | 58 | * @param string $key |
59 | - * @return Collection |
|
59 | + * @return \Illuminate\Support\Collection |
|
60 | 60 | */ |
61 | 61 | public function sortBy($key) |
62 | 62 | { |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | * Sort modules by given key in ascending order. |
70 | 70 | * |
71 | 71 | * @param string $key |
72 | - * @return Collection |
|
72 | + * @return \Illuminate\Support\Collection |
|
73 | 73 | */ |
74 | 74 | public function sortByDesc($key) |
75 | 75 | { |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | * Get a module's properties. |
104 | 104 | * |
105 | 105 | * @param string $slug |
106 | - * @return Collection|null |
|
106 | + * @return \Illuminate\Support\Collection|null |
|
107 | 107 | */ |
108 | 108 | public function getProperties($slug) |
109 | 109 | { |
@@ -141,8 +141,8 @@ discard block |
||
141 | 141 | * Set the given module property value. |
142 | 142 | * |
143 | 143 | * @param string $property |
144 | - * @param mixed $value |
|
145 | - * @return bool |
|
144 | + * @param boolean $value |
|
145 | + * @return integer |
|
146 | 146 | */ |
147 | 147 | public function setProperty($property, $value) |
148 | 148 | { |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | /** |
165 | 165 | * Get all enabled modules. |
166 | 166 | * |
167 | - * @return Collection |
|
167 | + * @return \Illuminate\Support\Collection |
|
168 | 168 | */ |
169 | 169 | public function enabled() |
170 | 170 | { |
@@ -174,7 +174,7 @@ discard block |
||
174 | 174 | /** |
175 | 175 | * Get all disabled modules. |
176 | 176 | * |
177 | - * @return Collection |
|
177 | + * @return \Illuminate\Support\Collection |
|
178 | 178 | */ |
179 | 179 | public function disabled() |
180 | 180 | { |
@@ -207,7 +207,7 @@ discard block |
||
207 | 207 | * Enables the specified module. |
208 | 208 | * |
209 | 209 | * @param string $slug |
210 | - * @return bool |
|
210 | + * @return integer |
|
211 | 211 | */ |
212 | 212 | public function enable($slug) |
213 | 213 | { |
@@ -218,7 +218,7 @@ discard block |
||
218 | 218 | * Disables the specified module. |
219 | 219 | * |
220 | 220 | * @param string $slug |
221 | - * @return bool |
|
221 | + * @return integer |
|
222 | 222 | */ |
223 | 223 | public function disable($slug) |
224 | 224 | { |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | /** |
38 | 38 | * Get all module basenames |
39 | 39 | * |
40 | - * @return array |
|
40 | + * @return \Illuminate\Support\Collection |
|
41 | 41 | */ |
42 | 42 | protected function getAllBasenames() |
43 | 43 | { |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | * Set modules path in "RunTime" mode. |
71 | 71 | * |
72 | 72 | * @param string $path |
73 | - * @return object $this |
|
73 | + * @return Repository $this |
|
74 | 74 | */ |
75 | 75 | public function setPath($path) |
76 | 76 | { |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | /** |
26 | 26 | * Create a new command instance. |
27 | 27 | * |
28 | - * @param \Caffeinated\Modules\Console\Handlers\ModuleMakeRequestHandler $handler |
|
28 | + * @param ModuleMakeControllerHandler $handler |
|
29 | 29 | */ |
30 | 30 | public function __construct(ModuleMakeControllerHandler $handler) |
31 | 31 | { |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | /** |
38 | 38 | * Execute the console command. |
39 | 39 | * |
40 | - * @return mixed |
|
40 | + * @return boolean |
|
41 | 41 | */ |
42 | 42 | public function fire() |
43 | 43 | { |