@@ -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 | { |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | $data = json_decode(file_get_contents($uri)); |
| 61 | 61 | ob_end_clean(); |
| 62 | 62 | |
| 63 | - return (array)$data; |
|
| 63 | + return (array) $data; |
|
| 64 | 64 | } catch (Exception $exception) { |
| 65 | 65 | throw new FailedToLoadConfigException( |
| 66 | 66 | sprintf( |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | */ |
| 87 | 87 | protected function validateUri($uri) |
| 88 | 88 | { |
| 89 | - if (! is_readable($uri)) { |
|
| 89 | + if ( ! is_readable($uri)) { |
|
| 90 | 90 | throw new FailedToLoadConfigException( |
| 91 | 91 | sprintf( |
| 92 | 92 | _('The requested PHP config file "%1$s" does not exist or is not readable.'), |