Passed
Pull Request — master (#715)
by Georges
01:58
created
lib/Phpfastcache/Core/Pool/ExtendedCacheItemPoolTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      */
37 37
     public function getItemsAsJsonString(array $keys = [], $option = 0, $depth = 512): string
38 38
     {
39
-        $callback = function (CacheItemInterface $item) {
39
+        $callback = function(CacheItemInterface $item) {
40 40
             return $item->get();
41 41
         };
42 42
         return \json_encode(\array_map($callback, \array_values($this->getItems($keys))), $option, $depth);
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
                  *
63 63
                  * #headache
64 64
                  */
65
-                return \array_filter($this->getItems(\array_unique(\array_keys($items))), function (ExtendedCacheItemInterface $item) {
65
+                return \array_filter($this->getItems(\array_unique(\array_keys($items))), function(ExtendedCacheItemInterface $item) {
66 66
                     return $item->isHit();
67 67
                 });
68 68
             }
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
      */
113 113
     public function getItemsByTagsAsJsonString(array $tagNames, $option = 0, $depth = 512): string
114 114
     {
115
-        $callback = function (CacheItemInterface $item) {
115
+        $callback = function(CacheItemInterface $item) {
116 116
             return $item->get();
117 117
         };
118 118
 
Please login to merge, or discard this patch.