Completed
Pull Request — master (#111)
by Filip
04:04
created
src/FileParser/Json.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
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
             }
Please login to merge, or discard this patch.
src/StringParser/Json.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
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
             }
Please login to merge, or discard this patch.
src/Config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -214,7 +214,7 @@
 block discarded – undo
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
             }
Please login to merge, or discard this patch.