@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | /** |
9 | 9 | * Update cached repository of module information. |
10 | 10 | * |
11 | - * @return bool |
|
11 | + * @return integer |
|
12 | 12 | */ |
13 | 13 | public function optimize() |
14 | 14 | { |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | /** |
45 | 45 | * Get all modules. |
46 | 46 | * |
47 | - * @return Collection |
|
47 | + * @return \Illuminate\Support\Collection |
|
48 | 48 | */ |
49 | 49 | public function all() |
50 | 50 | { |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | /** |
55 | 55 | * Get all module slugs. |
56 | 56 | * |
57 | - * @return Collection |
|
57 | + * @return \Illuminate\Support\Collection |
|
58 | 58 | */ |
59 | 59 | public function slugs() |
60 | 60 | { |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | * |
73 | 73 | * @param string $key |
74 | 74 | * @param mixed $value |
75 | - * @return Collection |
|
75 | + * @return \Illuminate\Support\Collection |
|
76 | 76 | */ |
77 | 77 | public function where($key, $value) |
78 | 78 | { |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | * Sort modules by given key in ascending order. |
84 | 84 | * |
85 | 85 | * @param string $key |
86 | - * @return Collection |
|
86 | + * @return \Illuminate\Support\Collection |
|
87 | 87 | */ |
88 | 88 | public function sortBy($key) |
89 | 89 | { |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | * Sort modules by given key in ascending order. |
97 | 97 | * |
98 | 98 | * @param string $key |
99 | - * @return Collection |
|
99 | + * @return \Illuminate\Support\Collection |
|
100 | 100 | */ |
101 | 101 | public function sortByDesc($key) |
102 | 102 | { |
@@ -146,8 +146,8 @@ discard block |
||
146 | 146 | * Set the given module property value. |
147 | 147 | * |
148 | 148 | * @param string $property |
149 | - * @param mixed $value |
|
150 | - * @return bool |
|
149 | + * @param boolean $value |
|
150 | + * @return integer |
|
151 | 151 | */ |
152 | 152 | public function set($property, $value) |
153 | 153 | { |
@@ -176,7 +176,7 @@ discard block |
||
176 | 176 | /** |
177 | 177 | * Get all enabled modules. |
178 | 178 | * |
179 | - * @return Collection |
|
179 | + * @return \Illuminate\Support\Collection |
|
180 | 180 | */ |
181 | 181 | public function enabled() |
182 | 182 | { |
@@ -186,7 +186,7 @@ discard block |
||
186 | 186 | /** |
187 | 187 | * Get all disabled modules. |
188 | 188 | * |
189 | - * @return Collection |
|
189 | + * @return \Illuminate\Support\Collection |
|
190 | 190 | */ |
191 | 191 | public function disabled() |
192 | 192 | { |
@@ -225,7 +225,7 @@ discard block |
||
225 | 225 | * Enables the specified module. |
226 | 226 | * |
227 | 227 | * @param string $slug |
228 | - * @return bool |
|
228 | + * @return integer |
|
229 | 229 | */ |
230 | 230 | public function enable($slug) |
231 | 231 | { |
@@ -236,7 +236,7 @@ discard block |
||
236 | 236 | * Disables the specified module. |
237 | 237 | * |
238 | 238 | * @param string $slug |
239 | - * @return bool |
|
239 | + * @return integer |
|
240 | 240 | */ |
241 | 241 | public function disable($slug) |
242 | 242 | { |
@@ -250,7 +250,7 @@ discard block |
||
250 | 250 | * enabled or disabled status. This can be used to |
251 | 251 | * filter out modules depending on their status. |
252 | 252 | * |
253 | - * @return Collection |
|
253 | + * @return \Illuminate\Support\Collection |
|
254 | 254 | */ |
255 | 255 | public function getCache() |
256 | 256 | { |
@@ -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 | { |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | * Get a module's manifest contents. |
61 | 61 | * |
62 | 62 | * @param string $slug |
63 | - * @return Collection|null |
|
63 | + * @return \Illuminate\Support\Collection|null |
|
64 | 64 | */ |
65 | 65 | public function getManifest($slug) |
66 | 66 | { |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | * Set modules path in "RunTime" mode. |
91 | 91 | * |
92 | 92 | * @param string $path |
93 | - * @return object $this |
|
93 | + * @return Repository $this |
|
94 | 94 | */ |
95 | 95 | public function setPath($path) |
96 | 96 | { |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | /** |
116 | 116 | * Get path of module manifest file. |
117 | 117 | * |
118 | - * @param string $module |
|
118 | + * @param string $slug |
|
119 | 119 | * @return string |
120 | 120 | */ |
121 | 121 | protected function getManifestPath($slug) |