Passed
Pull Request — master (#2)
by Akpé Aurelle Emmanuel Moïse
01:36
created
src/AVC.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
             $i=0;
64 64
             $countKeys=array();
65 65
             $simple=true;
66
-            $callback=function ($carry, $item) use (&$i, &$countKeys, &$simple) {
66
+            $callback=function($carry, $item) use (&$i, &$countKeys, &$simple) {
67 67
                 if (!is_array($carry)) {
68 68
                     $carry=array();
69 69
                 }
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
         
90 90
         private static function getResponse($simple, $response, $countKeys)
91 91
         {
92
-            $callback=function ($value, $count) {
92
+            $callback=function($value, $count) {
93 93
                 return array($value, $count);
94 94
             };
95 95
             return $simple ?
Please login to merge, or discard this patch.
src/AVCIterator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,9 +17,9 @@  discard block
 block discarded – undo
17 17
         public function offsetSet($key, $value)
18 18
         {
19 19
             if ($this->isSimple()) {
20
-                $this->keys[$key]=is_int($value)?$value:0;
20
+                $this->keys[$key]=is_int($value) ? $value : 0;
21 21
             } else {
22
-                $this->container[array_search($key, $this->keys, true)]=is_int($value)?$value:0;
22
+                $this->container[array_search($key, $this->keys, true)]=is_int($value) ? $value : 0;
23 23
             }
24 24
         }
25 25
         
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
             if ($this->isSimple()) {
105 105
                 return $this->keys;
106 106
             } else {
107
-                $callback=function ($value, $count) {
107
+                $callback=function($value, $count) {
108 108
                     return array(self::prepareJson($value), $count);
109 109
                 };
110 110
                 return array_map($callback, $this->keys, $this->container);
Please login to merge, or discard this patch.