File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ private function pingConnection(EntityManagerInterface $entityManager)
4040
4141        try  {
4242            $ connectionexecuteQuery ($ connectiongetDatabasePlatform ()->getDummySelectSQL ());
43-         } catch  (DBALException  |  Exception $ e
43+         } catch  (DBALException | Exception $ e
4444            $ connectionclose ();
4545            $ connectionconnect ();
4646        }
Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ private function getMetadata(string $class): ?ClassMetadata
230230    {
231231        try  {
232232            return  $ this entityManager  ? $ this entityManager ->getClassMetadata ($ class$ this classMetadataFactory ->getMetadataFor ($ class
233-         } catch  (MappingException  |  OrmMappingException $ exception
233+         } catch  (MappingException | OrmMappingException $ exception
234234            return  null ;
235235        }
236236    }
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public function loadClassMetadata(ClassMetadata $metadata): bool
4949        $ className$ metadatagetClassName ();
5050        try  {
5151            $ doctrineMetadata$ this entityManager ->getClassMetadata ($ className
52-         } catch  (MappingException  |  OrmMappingException $ exception
52+         } catch  (MappingException | OrmMappingException $ exception
5353            return  false ;
5454        }
5555
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments