Completed
Pull Request — develop (#315)
by Schlaefer
07:24
created
plugins/phile/phpFastCache/Classes/PhileToPsr16CacheAdapter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     /** @var string slug */
21 21
     const SLUG_PREFIX = '-phile.phpFastCache.slug-';
22 22
     
23
-    const SLUG = ['{', '}' , '(', ')', '/' , '\\' , '@', ':'];
23
+    const SLUG = ['{', '}', '(', ')', '/', '\\', '@', ':'];
24 24
 
25 25
     /**
26 26
      * @var \BasePhpFastCache the cache engine
@@ -117,13 +117,13 @@  discard block
 block discarded – undo
117 117
      */
118 118
     protected function slug($key)
119 119
     {
120
-        $replacer = function ($character) {
120
+        $replacer = function($character) {
121 121
             $key = array_search($character[0], self::SLUG);
122 122
             $replacement = self::SLUG_PREFIX . $key;
123 123
             return $replacement;
124 124
         };
125 125
         $search = array_map(
126
-            function ($value) {
126
+            function($value) {
127 127
                 return preg_quote($value);
128 128
             },
129 129
             self::SLUG
Please login to merge, or discard this patch.