@@ -32,7 +32,7 @@ |
||
| 32 | 32 | * |
| 33 | 33 | * @param string $uri URI of the resource to load. |
| 34 | 34 | * |
| 35 | - * @return array Data contained within the resource. |
|
| 35 | + * @return boolean Data contained within the resource. |
|
| 36 | 36 | */ |
| 37 | 37 | public static function canLoad($uri) |
| 38 | 38 | { |
@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | * |
| 134 | 134 | * @since 0.4.2 |
| 135 | 135 | * |
| 136 | - * @return ConfigInterface Configuration settings to use. |
|
| 136 | + * @return Config|null Configuration settings to use. |
|
| 137 | 137 | */ |
| 138 | 138 | protected function fetchDefaultConfig() |
| 139 | 139 | { |
@@ -151,7 +151,7 @@ discard block |
||
| 151 | 151 | * |
| 152 | 152 | * @since 0.4.2 |
| 153 | 153 | * |
| 154 | - * @return ConfigInterface Configuration settings to use. |
|
| 154 | + * @return Config|null Configuration settings to use. |
|
| 155 | 155 | */ |
| 156 | 156 | protected function fetchConfig($configFile) |
| 157 | 157 | { |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | * |
| 44 | 44 | * @param string|array $_ List of files. |
| 45 | 45 | * |
| 46 | - * @return ConfigInterface Instance of a ConfigInterface implementation. |
|
| 46 | + * @return Config|null Instance of a ConfigInterface implementation. |
|
| 47 | 47 | */ |
| 48 | 48 | public static function createFromFile($_) |
| 49 | 49 | { |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | * |
| 88 | 88 | * @param array $array Array with configuration values. |
| 89 | 89 | * |
| 90 | - * @return ConfigInterface Instance of a ConfigInterface implementation. |
|
| 90 | + * @return Config|null Instance of a ConfigInterface implementation. |
|
| 91 | 91 | */ |
| 92 | 92 | public static function createFromArray(array $array) |
| 93 | 93 | { |
@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | * |
| 110 | 110 | * @param mixed $_ Array with configuration values. |
| 111 | 111 | * |
| 112 | - * @return ConfigInterface Instance of a ConfigInterface implementation. |
|
| 112 | + * @return Config|null Instance of a ConfigInterface implementation. |
|
| 113 | 113 | */ |
| 114 | 114 | public static function create($_) |
| 115 | 115 | { |
@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | * |
| 136 | 136 | * @param mixed $_ Array with configuration values. |
| 137 | 137 | * |
| 138 | - * @return ConfigInterface Instance of a ConfigInterface implementation. |
|
| 138 | + * @return Config|null Instance of a ConfigInterface implementation. |
|
| 139 | 139 | */ |
| 140 | 140 | public static function merge($_) |
| 141 | 141 | { |
@@ -162,7 +162,7 @@ discard block |
||
| 162 | 162 | * |
| 163 | 163 | * @param string|array $_ List of files. |
| 164 | 164 | * |
| 165 | - * @return ConfigInterface Instance of a ConfigInterface implementation. |
|
| 165 | + * @return Config|null Instance of a ConfigInterface implementation. |
|
| 166 | 166 | */ |
| 167 | 167 | public static function mergeFromFiles($_) |
| 168 | 168 | { |
@@ -231,7 +231,7 @@ discard block |
||
| 231 | 231 | * @since 0.4.4 |
| 232 | 232 | * |
| 233 | 233 | * @param string $identifier Identifier to look for in the cache. |
| 234 | - * @param mixed $fallback Fallback to use to fill the cache. If $fallback is a callable, it will be executed |
|
| 234 | + * @param \Closure $fallback Fallback to use to fill the cache. If $fallback is a callable, it will be executed |
|
| 235 | 235 | * with $identifier as an argument. |
| 236 | 236 | * |
| 237 | 237 | * @return mixed The latest content of the cache for the given identifier. |