File tree Expand file tree Collapse file tree
tests/Component/DataSource/Driver/Doctrine/DBAL/Fixtures Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 "doctrine/dbal" : " ^3.4|^4.0" ,
2525 "doctrine/doctrine-bundle" : " ^2.4" ,
2626 "doctrine/orm" : " ^2.14|^3.0" ,
27- "doctrine/persistence" : " ^2.4|^3.0" ,
27+ "doctrine/persistence" : " ^2.4|^3.0|^4.0 " ,
2828 "friendsofsymfony/elastica-bundle" : " ^6.3" ,
2929 "fsi/files" : " ^2.0.2|^3.0" ,
3030 "gedmo/doctrine-extensions" : " ^3.5" ,
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public function getDefaultConnectionName(): string
3232 return 'test ' ;
3333 }
3434
35- public function getConnection ($ name = null ): ? \Doctrine \DBAL \Connection
35+ public function getConnection ($ name = null ): \Doctrine \DBAL \Connection
3636 {
3737 if (null !== $ name && $ this ->getDefaultConnectionName () !== $ name ) {
3838 throw new InvalidArgumentException ('invalid connection ' );
@@ -66,7 +66,7 @@ public function getDefaultConnectionName(): string
6666 return 'test ' ;
6767 }
6868
69- public function getConnection ($ name = null ): ? \Doctrine \DBAL \Driver \Connection
69+ public function getConnection ($ name = null ): \Doctrine \DBAL \Driver \Connection
7070 {
7171 if (null !== $ name && $ this ->getDefaultConnectionName () !== $ name ) {
7272 throw new InvalidArgumentException ('invalid connection ' );
You can’t perform that action at this time.
0 commit comments