Passed
Push — travis-php7.4-1.x ( 570d25 )
by Gabriel
04:54
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
                         );
188 188
                     }
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
         } catch (MappingException $loadingException) {
194 194
             $fallbackMetadataResponse = $this->onNotFoundMetadata($realClassName);
195 195
 
196
-            if (! $fallbackMetadataResponse) {
196
+            if (!$fallbackMetadataResponse) {
197 197
                 throw $loadingException;
198 198
             }
199 199
 
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
274 274
      */
275 275
     protected function loadMetadata($name)
276 276
     {
277
-        if (! $this->initialized) {
277
+        if (!$this->initialized) {
278 278
             $this->initialize();
279 279
         }
280 280
 
@@ -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.