Completed
Push — master ( 9a1e57...9eab6b )
by Kamil
02:30
created
src/Redis/Command/Compose/ApiCoreTrait.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     {
104 104
         $command = Enum::INFO;
105 105
 
106
-        return $this->dispatch(Builder::build($command, $section))->then(function ($value) {
106
+        return $this->dispatch(Builder::build($command, $section))->then(function($value) {
107 107
             if ($value) {
108 108
                 $ret = explode("\r\n", $value);
109 109
                 $handled = [];
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
                 {
114 114
                     if (($pos = strpos($v, '#')) !== false)
115 115
                     {
116
-                        $lastKey = strtolower(substr($v,$pos+2));
116
+                        $lastKey = strtolower(substr($v, $pos + 2));
117 117
                         $handled[$lastKey] = [];
118 118
                         continue;
119 119
                     }
Please login to merge, or discard this patch.
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -104,7 +104,8 @@  discard block
 block discarded – undo
104 104
         $command = Enum::INFO;
105 105
 
106 106
         return $this->dispatch(Builder::build($command, $section))->then(function ($value) {
107
-            if ($value) {
107
+            if ($value)
108
+            {
108 109
                 $ret = explode("\r\n", $value);
109 110
                 $handled = [];
110 111
                 $lastKey = '';
@@ -117,7 +118,8 @@  discard block
 block discarded – undo
117 118
                         $handled[$lastKey] = [];
118 119
                         continue;
119 120
                     }
120
-                    if ($v === '') {
121
+                    if ($v === '')
122
+                    {
121 123
                         continue;
122 124
                     }
123 125
                     if (($statMap = explode(':', $v)) && $statMap[0] && $statMap[1])
Please login to merge, or discard this patch.