@@ -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 | } |
@@ -55,7 +55,7 @@ |
||
| 55 | 55 | // Handle PHP start tag |
| 56 | 56 | $config = trim($config); |
| 57 | 57 | if (substr($config, 0, 2) === '<?') { |
| 58 | - $config = '?>' . $config; |
|
| 58 | + $config = '?>'.$config; |
|
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | // Eval the string, if it throws an exception, rethrow it |
@@ -50,7 +50,7 @@ |
||
| 50 | 50 | protected function parse(?array $data = null, ?string $filename = null): ?array |
| 51 | 51 | { |
| 52 | 52 | if (json_last_error() !== JSON_ERROR_NONE) { |
| 53 | - $error_message = 'Syntax error'; |
|
| 53 | + $error_message = 'Syntax error'; |
|
| 54 | 54 | if (function_exists('json_last_error_msg')) { |
| 55 | 55 | $error_message = json_last_error_msg(); |
| 56 | 56 | } |