Completed
Pull Request — master (#7)
by
unknown
03:57
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($command, array $args=[]);
86
+    public function slowLog($command, 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/ApiSetTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
     public function sIsMember($key, $member)
60 60
     {
61 61
         $command = Enum::SISMEMBER;
62
-        $args = [$key ,$member];
62
+        $args = [$key, $member];
63 63
 
64 64
         return $this->dispatch(Builder::build($command, $args));
65 65
     }
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
@@ -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.