Passed
Push — master ( 9e6266...33fd51 )
by Jonathan
33s
created
lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      */
80 80
     public function getAllMetadata()
81 81
     {
82
-        if (! $this->initialized) {
82
+        if (!$this->initialized) {
83 83
             $this->initialize();
84 84
         }
85 85
 
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
 
175 175
         try {
176 176
             if ($this->cacheDriver) {
177
-                $cached = $this->cacheDriver->fetch($realClassName . $this->cacheSalt);
177
+                $cached = $this->cacheDriver->fetch($realClassName.$this->cacheSalt);
178 178
                 if ($cached instanceof ClassMetadata) {
179 179
                     $this->loadedMetadata[$realClassName] = $cached;
180 180
 
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
                 } else {
183 183
                     foreach ($this->loadMetadata($realClassName) as $loadedClassName) {
184 184
                         $this->cacheDriver->save(
185
-                            $loadedClassName . $this->cacheSalt,
185
+                            $loadedClassName.$this->cacheSalt,
186 186
                             $this->loadedMetadata[$loadedClassName],
187 187
                             null
188 188
                         );
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
         } catch (MappingException $loadingException) {
195 195
             $fallbackMetadataResponse = $this->onNotFoundMetadata($realClassName);
196 196
 
197
-            if (! $fallbackMetadataResponse) {
197
+            if (!$fallbackMetadataResponse) {
198 198
                 throw $loadingException;
199 199
             }
200 200
 
@@ -275,7 +275,7 @@  discard block
 block discarded – undo
275 275
      */
276 276
     protected function loadMetadata($name)
277 277
     {
278
-        if (! $this->initialized) {
278
+        if (!$this->initialized) {
279 279
             $this->initialize();
280 280
         }
281 281
 
@@ -361,7 +361,7 @@  discard block
 block discarded – undo
361 361
      */
362 362
     public function isTransient($class)
363 363
     {
364
-        if (! $this->initialized) {
364
+        if (!$this->initialized) {
365 365
             $this->initialize();
366 366
         }
367 367
 
@@ -402,7 +402,7 @@  discard block
 block discarded – undo
402 402
      */
403 403
     private function getRealClass(string $class) : string
404 404
     {
405
-        $pos = strrpos($class, '\\' . Proxy::MARKER . '\\');
405
+        $pos = strrpos($class, '\\'.Proxy::MARKER.'\\');
406 406
 
407 407
         if ($pos === false) {
408 408
             return $class;
Please login to merge, or discard this patch.