@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | { |
| 45 | 45 | $this->delegate = $reader; |
| 46 | 46 | $this->cache = $cache; |
| 47 | - $this->debug = (bool)$debug; |
|
| 47 | + $this->debug = (bool) $debug; |
|
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | /** |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | public function getPropertyAnnotations(ReflectionProperty $property) |
| 87 | 87 | { |
| 88 | 88 | $class = $property->getDeclaringClass(); |
| 89 | - $cacheKey = $class->getName() . '$' . $property->getName(); |
|
| 89 | + $cacheKey = $class->getName().'$'.$property->getName(); |
|
| 90 | 90 | |
| 91 | 91 | if (isset($this->loadedAnnotations[$cacheKey])) { |
| 92 | 92 | return $this->loadedAnnotations[$cacheKey]; |
@@ -120,7 +120,7 @@ discard block |
||
| 120 | 120 | public function getMethodAnnotations(ReflectionMethod $method) |
| 121 | 121 | { |
| 122 | 122 | $class = $method->getDeclaringClass(); |
| 123 | - $cacheKey = $class->getName() . '#' . $method->getName(); |
|
| 123 | + $cacheKey = $class->getName().'#'.$method->getName(); |
|
| 124 | 124 | |
| 125 | 125 | if (isset($this->loadedAnnotations[$cacheKey])) { |
| 126 | 126 | return $this->loadedAnnotations[$cacheKey]; |
@@ -189,7 +189,7 @@ discard block |
||
| 189 | 189 | { |
| 190 | 190 | $this->cache->save($cacheKey, $value); |
| 191 | 191 | if ($this->debug) { |
| 192 | - $this->cache->save('[C]' . $cacheKey, time()); |
|
| 192 | + $this->cache->save('[C]'.$cacheKey, time()); |
|
| 193 | 193 | } |
| 194 | 194 | } |
| 195 | 195 | |
@@ -208,7 +208,7 @@ discard block |
||
| 208 | 208 | return true; |
| 209 | 209 | } |
| 210 | 210 | |
| 211 | - return $this->cache->fetch('[C]' . $cacheKey) >= $lastModification; |
|
| 211 | + return $this->cache->fetch('[C]'.$cacheKey) >= $lastModification; |
|
| 212 | 212 | } |
| 213 | 213 | |
| 214 | 214 | /** |