@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | */ |
30 | 30 | public function getItemsAsJsonString(array $keys = [], $option = 0, $depth = 512) |
31 | 31 | { |
32 | - $callback = function(CacheItemInterface $item){ |
|
32 | + $callback = function(CacheItemInterface $item) { |
|
33 | 33 | return $item->get(); |
34 | 34 | }; |
35 | 35 | return json_encode(array_map($callback, array_values($this->getItems($keys))), $option, $depth); |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | */ |
88 | 88 | public function getItemsByTagsAsJsonString(array $tagNames, $option = 0, $depth = 512) |
89 | 89 | { |
90 | - $callback = function(CacheItemInterface $item){ |
|
90 | + $callback = function(CacheItemInterface $item) { |
|
91 | 91 | return $item->get(); |
92 | 92 | }; |
93 | 93 |