Passed
Push — develop ( bbd7d7...184283 )
by Schlaefer
39s
created
plugins/phile/phpFastCache/Classes/PhileToPsr16CacheAdapter.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
     /**
54 54
      * method to get cache entry
55 55
      *
56
-     * @param $key
56
+     * @param string $key
57 57
      *
58 58
      * @return mixed|null
59 59
      */
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 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
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
     protected function slug($key)
119 119
     {
120 120
         $replacementTokens = array_map(
121
-            function ($key) {
121
+            function($key) {
122 122
                 return self::SLUG_PREFIX . $key;
123 123
             },
124 124
             array_keys(self::SLUG)
Please login to merge, or discard this patch.