@@ -20,7 +20,7 @@ |
||
| 20 | 20 | /** |
| 21 | 21 | * Read configuration from file or array'. |
| 22 | 22 | * |
| 23 | - * @param array/string $what is an array with key/value config options or a file |
|
| 23 | + * @param string $what is an array with key/value config options or a file |
|
| 24 | 24 | * to be included which returns such an array. |
| 25 | 25 | * @return $this for chaining. |
| 26 | 26 | */ |
@@ -133,7 +133,7 @@ |
||
| 133 | 133 | * |
| 134 | 134 | * @param string $region which region to check |
| 135 | 135 | * |
| 136 | - * @return $this |
|
| 136 | + * @return boolean |
|
| 137 | 137 | */ |
| 138 | 138 | public function hasContent($region) |
| 139 | 139 | { |
@@ -341,6 +341,10 @@ |
||
| 341 | 341 | return $file; |
| 342 | 342 | } |
| 343 | 343 | |
| 344 | + /** |
|
| 345 | + * @param string $class |
|
| 346 | + * @param string $ext |
|
| 347 | + */ |
|
| 344 | 348 | private function findFileWithExtension($class, $ext) |
| 345 | 349 | { |
| 346 | 350 | // PSR-4 lookup |