Completed
Push — master ( b586f8...cd674c )
by Kamil
12s
created
src/Redis/Command/Api/ApiCoreInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
      * @param array $args
84 84
      * @return mixed
85 85
      */
86
-    public function slowLog($subCommand, array $args=[]);
86
+    public function slowLog($subCommand, array $args = []);
87 87
 
88 88
     /**
89 89
      * @doc https://redis.io/commands/save
Please login to merge, or discard this patch.
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.