@@ -26,7 +26,7 @@ |
||
26 | 26 | $data = json_decode(file_get_contents($path), true); |
27 | 27 | |
28 | 28 | if (json_last_error() !== JSON_ERROR_NONE) { |
29 | - $error_message = 'Syntax error'; |
|
29 | + $error_message = 'Syntax error'; |
|
30 | 30 | if (function_exists('json_last_error_msg')) { |
31 | 31 | $error_message = json_last_error_msg(); |
32 | 32 | } |
@@ -26,7 +26,7 @@ |
||
26 | 26 | $data = json_decode($configuration, true); |
27 | 27 | |
28 | 28 | if (json_last_error() !== JSON_ERROR_NONE) { |
29 | - $error_message = 'Syntax error'; |
|
29 | + $error_message = 'Syntax error'; |
|
30 | 30 | if (function_exists('json_last_error_msg')) { |
31 | 31 | $error_message = json_last_error_msg(); |
32 | 32 | } |
@@ -214,7 +214,7 @@ |
||
214 | 214 | |
215 | 215 | // If `$path` is a directory |
216 | 216 | if (is_dir($path)) { |
217 | - $paths = glob($path . '/*.*'); |
|
217 | + $paths = glob($path.'/*.*'); |
|
218 | 218 | if (empty($paths)) { |
219 | 219 | throw new EmptyDirectoryException("Configuration directory: [$path] is empty"); |
220 | 220 | } |