@@ -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 | { |
@@ -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 | { |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | /** |
| 96 | 96 | * Get path of module manifest file. |
| 97 | 97 | * |
| 98 | - * @param string $module |
|
| 98 | + * @param string $slug |
|
| 99 | 99 | * @return string |
| 100 | 100 | */ |
| 101 | 101 | protected function getManifestPath($slug) |
@@ -76,7 +76,6 @@ |
||
| 76 | 76 | /** |
| 77 | 77 | * Seed the specific module. |
| 78 | 78 | * |
| 79 | - * @param string $module |
|
| 80 | 79 | * @return array |
| 81 | 80 | */ |
| 82 | 81 | protected function seed($slug) |
@@ -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 | { |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | * |
| 44 | 44 | * @param string $key |
| 45 | 45 | * @param mixed $value |
| 46 | - * @return Collection |
|
| 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 | { |
@@ -142,7 +142,7 @@ discard block |
||
| 142 | 142 | * |
| 143 | 143 | * @param string $property |
| 144 | 144 | * @param mixed $value |
| 145 | - * @return bool |
|
| 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 | { |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | /** |
| 183 | 183 | * Get all disabled modules. |
| 184 | 184 | * |
| 185 | - * @return Collection |
|
| 185 | + * @return \Illuminate\Support\Collection |
|
| 186 | 186 | */ |
| 187 | 187 | public function disabled() |
| 188 | 188 | { |
@@ -227,7 +227,7 @@ discard block |
||
| 227 | 227 | * Enables the specified module. |
| 228 | 228 | * |
| 229 | 229 | * @param string $slug |
| 230 | - * @return bool |
|
| 230 | + * @return integer |
|
| 231 | 231 | */ |
| 232 | 232 | public function enable($slug) |
| 233 | 233 | { |
@@ -238,7 +238,7 @@ discard block |
||
| 238 | 238 | * Disables the specified module. |
| 239 | 239 | * |
| 240 | 240 | * @param string $slug |
| 241 | - * @return bool |
|
| 241 | + * @return integer |
|
| 242 | 242 | */ |
| 243 | 243 | public function disable($slug) |
| 244 | 244 | { |
@@ -248,7 +248,7 @@ discard block |
||
| 248 | 248 | /** |
| 249 | 249 | * Refresh the cache with any newly found modules. |
| 250 | 250 | * |
| 251 | - * @return bool |
|
| 251 | + * @return integer |
|
| 252 | 252 | */ |
| 253 | 253 | public function cache() |
| 254 | 254 | { |
@@ -276,7 +276,7 @@ discard block |
||
| 276 | 276 | * enabled or disabled status. This can be used to |
| 277 | 277 | * filter out modules depending on their status. |
| 278 | 278 | * |
| 279 | - * @return Collection |
|
| 279 | + * @return \Illuminate\Support\Collection |
|
| 280 | 280 | */ |
| 281 | 281 | public function getCache() |
| 282 | 282 | { |
@@ -304,7 +304,7 @@ discard block |
||
| 304 | 304 | * Set the given cache key value. |
| 305 | 305 | * |
| 306 | 306 | * @param string $key |
| 307 | - * @param mixed $value |
|
| 307 | + * @param boolean $value |
|
| 308 | 308 | * @return int |
| 309 | 309 | */ |
| 310 | 310 | public function setCache($key, $value) |