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)
40
40
41
41
try {
42
42
$ connection ->executeQuery ($ connection ->getDatabasePlatform ()->getDummySelectSQL ());
43
- } catch (DBALException | Exception $ e ) {
43
+ } catch (DBALException | Exception $ e ) {
44
44
$ connection ->close ();
45
45
$ connection ->connect ();
46
46
}
Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ private function getMetadata(string $class): ?ClassMetadata
230
230
{
231
231
try {
232
232
return $ this ->entityManager ? $ this ->entityManager ->getClassMetadata ($ class ) : $ this ->classMetadataFactory ->getMetadataFor ($ class );
233
- } catch (MappingException | OrmMappingException $ exception ) {
233
+ } catch (MappingException | OrmMappingException $ exception ) {
234
234
return null ;
235
235
}
236
236
}
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public function loadClassMetadata(ClassMetadata $metadata): bool
49
49
$ className = $ metadata ->getClassName ();
50
50
try {
51
51
$ doctrineMetadata = $ this ->entityManager ->getClassMetadata ($ className );
52
- } catch (MappingException | OrmMappingException $ exception ) {
52
+ } catch (MappingException | OrmMappingException $ exception ) {
53
53
return false ;
54
54
}
55
55
You can’t perform that action at this time.
0 commit comments