Completed
Pull Request — master (#11)
by
unknown
02:38
created
src/Redis/Command/Compose/ApiCoreTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
     {
100 100
         $command = Enum::INFO;
101 101
 
102
-        return $this->dispatch(Builder::build($command, $section))->then(function ($value) {
102
+        return $this->dispatch(Builder::build($command, $section))->then(function($value) {
103 103
             if ($value) {
104 104
                 $ret = explode("\r\n", $value);
105 105
                 $handled = [];
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
                 {
110 110
                     if (($pos = strpos($v, '#')) !== false)
111 111
                     {
112
-                        $lastKey = strtolower(substr($v,$pos+2));
112
+                        $lastKey = strtolower(substr($v, $pos + 2));
113 113
                         $handled[$lastKey] = [];
114 114
                         continue;
115 115
                     }
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
     public function slowLog($subCommand, array $args = [])
150 150
     {
151 151
         $command = Enum::SLOWLOG;
152
-        $args = array_merge([$subCommand],$args);
152
+        $args = array_merge([$subCommand], $args);
153 153
 
154 154
         return $this->dispatch(Builder::build($command, $args));
155 155
     }
Please login to merge, or discard this patch.