Completed
Pull Request — master (#32)
by
unknown
14:30
created
src/voku/cache/CachePsr16.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     public function deleteMultiple(iterable $keys): bool
46 46
     {
47 47
         $results = [];
48
-        foreach ((array) $keys as $key) {
48
+        foreach ((array)$keys as $key) {
49 49
             $results[] = $this->delete($key);
50 50
         }
51 51
 
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
     public function getMultiple(iterable $keys, mixed $default = null): iterable
86 86
     {
87 87
         $result = [];
88
-        foreach ((array) $keys as $key) {
88
+        foreach ((array)$keys as $key) {
89 89
             $result[$key] = $this->has($key) ? $this->get($key) : $default;
90 90
         }
91 91
 
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
      *
125 125
      * @return bool true on success and false on failure
126 126
      */
127
-    public function set(string $key, mixed $value, null|int|\DateInterval $ttl = null): bool
127
+    public function set(string $key, mixed $value, null | int | \DateInterval $ttl = null): bool
128 128
     {
129 129
         return $this->setItem($key, $value, $ttl);
130 130
     }
@@ -141,10 +141,10 @@  discard block
 block discarded – undo
141 141
      *
142 142
      * @return bool true on success and false on failure
143 143
      */
144
-    public function setMultiple(iterable $values, null|int|\DateInterval $ttl = null): bool
144
+    public function setMultiple(iterable $values, null | int | \DateInterval $ttl = null): bool
145 145
     {
146 146
         $results = [];
147
-        foreach ((array) $values as $key => $value) {
147
+        foreach ((array)$values as $key => $value) {
148 148
             $results[] = $this->set($key, $value, $ttl);
149 149
         }
150 150
 
Please login to merge, or discard this patch.