@@ -53,7 +53,7 @@ |
||
| 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 | */ |
@@ -20,7 +20,7 @@ discard block |
||
| 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 |
||
| 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) |