@@ -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 | { |
@@ -77,7 +77,6 @@ |
||
77 | 77 | /** |
78 | 78 | * Seed the specific module. |
79 | 79 | * |
80 | - * @param string $module |
|
81 | 80 | * |
82 | 81 | * @return array |
83 | 82 | */ |
@@ -163,7 +163,7 @@ discard block |
||
163 | 163 | /** |
164 | 164 | * Resolve Container after getting file path. |
165 | 165 | * |
166 | - * @param string $FilePath |
|
166 | + * @param string $filePath |
|
167 | 167 | * |
168 | 168 | * @return array |
169 | 169 | */ |
@@ -209,7 +209,6 @@ discard block |
||
209 | 209 | /** |
210 | 210 | * Parse class name of the module. |
211 | 211 | * |
212 | - * @param string $slug |
|
213 | 212 | * |
214 | 213 | * @return string |
215 | 214 | */ |
@@ -310,7 +309,6 @@ discard block |
||
310 | 309 | /** |
311 | 310 | * Get stub content by key. |
312 | 311 | * |
313 | - * @param int $key |
|
314 | 312 | * |
315 | 313 | * @return string |
316 | 314 | */ |
@@ -59,7 +59,7 @@ |
||
59 | 59 | /** |
60 | 60 | * Resolve Container after getting file path. |
61 | 61 | * |
62 | - * @param string $FilePath |
|
62 | + * @param string $filePath |
|
63 | 63 | * |
64 | 64 | * @return array |
65 | 65 | */ |
@@ -7,7 +7,7 @@ discard block |
||
7 | 7 | /** |
8 | 8 | * Update cached repository of module information. |
9 | 9 | * |
10 | - * @return bool |
|
10 | + * @return integer |
|
11 | 11 | */ |
12 | 12 | public function optimize() |
13 | 13 | { |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | /** |
44 | 44 | * Get all modules. |
45 | 45 | * |
46 | - * @return Collection |
|
46 | + * @return \Illuminate\Support\Collection |
|
47 | 47 | */ |
48 | 48 | public function all() |
49 | 49 | { |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | /** |
54 | 54 | * Get all module slugs. |
55 | 55 | * |
56 | - * @return Collection |
|
56 | + * @return \Illuminate\Support\Collection |
|
57 | 57 | */ |
58 | 58 | public function slugs() |
59 | 59 | { |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | * @param string $key |
73 | 73 | * @param mixed $value |
74 | 74 | * |
75 | - * @return Collection |
|
75 | + * @return \Illuminate\Support\Collection |
|
76 | 76 | */ |
77 | 77 | public function where($key, $value) |
78 | 78 | { |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | * |
85 | 85 | * @param string $key |
86 | 86 | * |
87 | - * @return Collection |
|
87 | + * @return \Illuminate\Support\Collection |
|
88 | 88 | */ |
89 | 89 | public function sortBy($key) |
90 | 90 | { |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | * |
99 | 99 | * @param string $key |
100 | 100 | * |
101 | - * @return Collection |
|
101 | + * @return \Illuminate\Support\Collection |
|
102 | 102 | */ |
103 | 103 | public function sortByDesc($key) |
104 | 104 | { |
@@ -150,9 +150,9 @@ discard block |
||
150 | 150 | * Set the given module property value. |
151 | 151 | * |
152 | 152 | * @param string $property |
153 | - * @param mixed $value |
|
153 | + * @param boolean $value |
|
154 | 154 | * |
155 | - * @return bool |
|
155 | + * @return integer |
|
156 | 156 | */ |
157 | 157 | public function set($property, $value) |
158 | 158 | { |
@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | /** |
182 | 182 | * Get all enabled modules. |
183 | 183 | * |
184 | - * @return Collection |
|
184 | + * @return \Illuminate\Support\Collection |
|
185 | 185 | */ |
186 | 186 | public function enabled() |
187 | 187 | { |
@@ -191,7 +191,7 @@ discard block |
||
191 | 191 | /** |
192 | 192 | * Get all disabled modules. |
193 | 193 | * |
194 | - * @return Collection |
|
194 | + * @return \Illuminate\Support\Collection |
|
195 | 195 | */ |
196 | 196 | public function disabled() |
197 | 197 | { |
@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | * |
234 | 234 | * @param string $slug |
235 | 235 | * |
236 | - * @return bool |
|
236 | + * @return integer |
|
237 | 237 | */ |
238 | 238 | public function enable($slug) |
239 | 239 | { |
@@ -245,7 +245,7 @@ discard block |
||
245 | 245 | * |
246 | 246 | * @param string $slug |
247 | 247 | * |
248 | - * @return bool |
|
248 | + * @return integer |
|
249 | 249 | */ |
250 | 250 | public function disable($slug) |
251 | 251 | { |
@@ -259,7 +259,7 @@ discard block |
||
259 | 259 | * enabled or disabled status. This can be used to |
260 | 260 | * filter out modules depending on their status. |
261 | 261 | * |
262 | - * @return Collection |
|
262 | + * @return \Illuminate\Support\Collection |
|
263 | 263 | */ |
264 | 264 | public function getCache() |
265 | 265 | { |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | /** |
39 | 39 | * Get all module basenames. |
40 | 40 | * |
41 | - * @return array |
|
41 | + * @return \Illuminate\Support\Collection |
|
42 | 42 | */ |
43 | 43 | protected function getAllBasenames() |
44 | 44 | { |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | * |
63 | 63 | * @param string $slug |
64 | 64 | * |
65 | - * @return Collection|null |
|
65 | + * @return \Illuminate\Support\Collection|null |
|
66 | 66 | */ |
67 | 67 | public function getManifest($slug) |
68 | 68 | { |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | * |
94 | 94 | * @param string $path |
95 | 95 | * |
96 | - * @return object $this |
|
96 | + * @return Repository $this |
|
97 | 97 | */ |
98 | 98 | public function setPath($path) |
99 | 99 | { |
@@ -119,8 +119,8 @@ discard block |
||
119 | 119 | /** |
120 | 120 | * Get path of module manifest file. |
121 | 121 | * |
122 | - * @param string $module |
|
123 | 122 | * |
123 | + * @param string $slug |
|
124 | 124 | * @return string |
125 | 125 | */ |
126 | 126 | protected function getManifestPath($slug) |
@@ -59,7 +59,7 @@ |
||
59 | 59 | /** |
60 | 60 | * Resolve Container after getting file path. |
61 | 61 | * |
62 | - * @param string $FilePath |
|
62 | + * @param string $filePath |
|
63 | 63 | * |
64 | 64 | * @return array |
65 | 65 | */ |
@@ -59,7 +59,7 @@ |
||
59 | 59 | /** |
60 | 60 | * Resolve Container after getting file path. |
61 | 61 | * |
62 | - * @param string $FilePath |
|
62 | + * @param string $filePath |
|
63 | 63 | * |
64 | 64 | * @return array |
65 | 65 | */ |
@@ -59,7 +59,7 @@ |
||
59 | 59 | /** |
60 | 60 | * Resolve Container after getting file path. |
61 | 61 | * |
62 | - * @param string $FilePath |
|
62 | + * @param string $filePath |
|
63 | 63 | * |
64 | 64 | * @return array |
65 | 65 | */ |