Passed
Pull Request — master (#70)
by Alexander M.
06:58
created
lib/Doctrine/Persistence/Mapping/AbstractClassMetadataFactory.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      */
97 97
     public function getAllMetadata() : array
98 98
     {
99
-        if (! $this->initialized) {
99
+        if (!$this->initialized) {
100 100
             $this->initialize();
101 101
         }
102 102
 
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
 
184 184
         try {
185 185
             if ($this->cache !== null) {
186
-                $cacheKey = str_replace('\\', '.', $realClassName) . $this->cacheSalt;
186
+                $cacheKey = str_replace('\\', '.', $realClassName).$this->cacheSalt;
187 187
                 $cached = $this->cache->get($cacheKey);
188 188
 
189 189
                 if ($cached instanceof ClassMetadata) {
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
      */
280 280
     protected function loadMetadata(string $name) : array
281 281
     {
282
-        if (! $this->initialized) {
282
+        if (!$this->initialized) {
283 283
             $this->initialize();
284 284
         }
285 285
 
@@ -362,7 +362,7 @@  discard block
 block discarded – undo
362 362
      */
363 363
     public function isTransient(string $class) : bool
364 364
     {
365
-        if (! $this->initialized) {
365
+        if (!$this->initialized) {
366 366
             $this->initialize();
367 367
         }
368 368
 
@@ -401,7 +401,7 @@  discard block
 block discarded – undo
401 401
      */
402 402
     private function getRealClass(string $class) : string
403 403
     {
404
-        $pos = strrpos($class, '\\' . Proxy::MARKER . '\\');
404
+        $pos = strrpos($class, '\\'.Proxy::MARKER.'\\');
405 405
 
406 406
         if ($pos === false) {
407 407
             return $class;
Please login to merge, or discard this patch.