@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | */ |
113 | 113 | public function getTagGroups(): array |
114 | 114 | { |
115 | - $cacheKey = $this->options['cache']['namespace'] . __FUNCTION__; |
|
115 | + $cacheKey = $this->options['cache']['namespace'].__FUNCTION__; |
|
116 | 116 | $groupDtoArrayCached = $this->cache->getItem($cacheKey); |
117 | 117 | |
118 | 118 | if ($groupDtoArrayCached->isHit()) { |
@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | if (method_exists(OptionsResolver::class, 'isNested')) { |
159 | 159 | $optionsResolver->setDefault( |
160 | 160 | 'cache', |
161 | - function (OptionsResolver $cacheOptionsResolver) { |
|
161 | + function(OptionsResolver $cacheOptionsResolver) { |
|
162 | 162 | $cacheOptionsResolver->setDefault('namespace', md5(__CLASS__)); |
163 | 163 | } |
164 | 164 | ); |
@@ -26,10 +26,10 @@ discard block |
||
26 | 26 | // Feel free to remove this, extend it, or make something more sophisticated. |
27 | 27 | if (!getenv('APP_DEBUG')) { |
28 | 28 | header('HTTP/1.0 403 Forbidden'); |
29 | - exit('You are not allowed to access this file. Check ' . basename(__FILE__) . ' for more information.'); |
|
29 | + exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.'); |
|
30 | 30 | } |
31 | 31 | |
32 | -require __DIR__ . '/../vendor/autoload.php'; |
|
32 | +require __DIR__.'/../vendor/autoload.php'; |
|
33 | 33 | |
34 | 34 | Debug::enable(); |
35 | 35 | |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | . ' as a Composer dependency to load variables from a .env file.' |
42 | 42 | ); |
43 | 43 | } |
44 | - (new Dotenv())->load(__DIR__ . '/../.env'); |
|
44 | + (new Dotenv())->load(__DIR__.'/../.env'); |
|
45 | 45 | } |
46 | 46 | |
47 | 47 | $kernel = new AppKernel($_SERVER['APP_ENV'], true); |