Completed
Pull Request — master (#7)
by
unknown
03:57
created
src/Redis/Command/Compose/ApiCoreTrait.php 1 patch
Spacing   +3 added lines, -3 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
                     }
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
     {
156 156
         // TODO: Implement sLowLog() method.
157 157
         $command = Enum::SLOWLOG;
158
-        $args = array_merge([$command],$args);
158
+        $args = array_merge([$command], $args);
159 159
 
160 160
         return $this->dispatch(Builder::build($command, $args));
161 161
     }
Please login to merge, or discard this patch.