Completed
Push — master ( 9db75f...330065 )
by Jimmy K. Oak
02:36
created
src/Utility/ObjectUtils.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 
51 51
     private function getAllObjectVars($object)
52 52
     {
53
-        $getObjectVarsClosure = function () {
53
+        $getObjectVarsClosure = function() {
54 54
             return get_object_vars($this);
55 55
         };
56 56
 
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
             if (is_object($value) || is_array($value)) {
96 96
                 $array[$property] = $this->toShallowArray($value);
97 97
             } elseif (is_resource($value)) {
98
-                $array[$property] = (string)$value;
98
+                $array[$property] = (string) $value;
99 99
             } else {
100 100
                 $array[$property] = $value;
101 101
             }
Please login to merge, or discard this patch.
src/Utility/FileUtils.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
                 if (is_dir($pathToScan)) {
29 29
                     if ($recursive) {
30 30
                         $moreFiles = $this->scanDir($pathToScan, $fileOrDirs, true);
31
-                        $appendParents = function ($path) use ($file) {
31
+                        $appendParents = function($path) use ($file) {
32 32
                             return $file . DIRECTORY_SEPARATOR . $path;
33 33
                         };
34 34
                         $moreFiles = array_map($appendParents, $moreFiles);
Please login to merge, or discard this patch.
src/Utility/StringUtils.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
 
102 102
         $pattern = '/^' . preg_quote($needle) . '/';
103 103
 
104
-        return (bool)preg_match($pattern . $parsedModifiers, $haystack);
104
+        return (bool) preg_match($pattern . $parsedModifiers, $haystack);
105 105
     }
106 106
 
107 107
     /**
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
 
129 129
         $pattern = '/' . preg_quote($needle) . '$/';
130 130
 
131
-        return (bool)preg_match($pattern . $parsedModifiers, $haystack);
131
+        return (bool) preg_match($pattern . $parsedModifiers, $haystack);
132 132
     }
133 133
 
134 134
     /**
Please login to merge, or discard this patch.