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