@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | */ |
78 | 78 | public function getAllMetadata() : array |
79 | 79 | { |
80 | - if (! $this->initialized) { |
|
80 | + if (!$this->initialized) { |
|
81 | 81 | $this->initialize(); |
82 | 82 | } |
83 | 83 | |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | |
165 | 165 | try { |
166 | 166 | if ($this->cacheDriver !== null) { |
167 | - $cached = $this->cacheDriver->fetch($realClassName . $this->cacheSalt); |
|
167 | + $cached = $this->cacheDriver->fetch($realClassName.$this->cacheSalt); |
|
168 | 168 | |
169 | 169 | if ($cached instanceof ClassMetadata) { |
170 | 170 | $this->loadedMetadata[$realClassName] = $cached; |
@@ -173,7 +173,7 @@ discard block |
||
173 | 173 | } else { |
174 | 174 | foreach ($this->loadMetadata($realClassName) as $loadedClassName) { |
175 | 175 | $this->cacheDriver->save( |
176 | - $loadedClassName . $this->cacheSalt, |
|
176 | + $loadedClassName.$this->cacheSalt, |
|
177 | 177 | $this->loadedMetadata[$loadedClassName] |
178 | 178 | ); |
179 | 179 | } |
@@ -259,7 +259,7 @@ discard block |
||
259 | 259 | */ |
260 | 260 | protected function loadMetadata(string $name) : array |
261 | 261 | { |
262 | - if (! $this->initialized) { |
|
262 | + if (!$this->initialized) { |
|
263 | 263 | $this->initialize(); |
264 | 264 | } |
265 | 265 | |
@@ -343,7 +343,7 @@ discard block |
||
343 | 343 | */ |
344 | 344 | public function isTransient(string $class) : bool |
345 | 345 | { |
346 | - if (! $this->initialized) { |
|
346 | + if (!$this->initialized) { |
|
347 | 347 | $this->initialize(); |
348 | 348 | } |
349 | 349 | |
@@ -382,7 +382,7 @@ discard block |
||
382 | 382 | */ |
383 | 383 | private function getRealClass(string $class) : string |
384 | 384 | { |
385 | - $pos = strrpos($class, '\\' . Proxy::MARKER . '\\'); |
|
385 | + $pos = strrpos($class, '\\'.Proxy::MARKER.'\\'); |
|
386 | 386 | |
387 | 387 | if ($pos === false) { |
388 | 388 | return $class; |