File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 1515use Doctrine \DBAL \DriverManager ;
1616use Doctrine \DBAL \Schema \DefaultSchemaManagerFactory ;
1717use Doctrine \DBAL \Tools \DsnParser ;
18- use Doctrine \ORM \ORMSetup ;
1918use Symfony \Component \Cache \Adapter \AbstractAdapter ;
2019use Symfony \Component \Cache \Traits \RedisClusterProxy ;
2120use Symfony \Component \Cache \Traits \RedisProxy ;
@@ -77,7 +76,7 @@ public static function createHandler($connection): AbstractSessionHandler
7776 }
7877 $ connection [3 ] = '- ' ;
7978 $ params = class_exists (DsnParser::class) ? (new DsnParser ())->parse ($ connection ) : ['url ' => $ connection ];
80- $ config = class_exists (ORMSetup::class) ? ORMSetup:: createConfiguration ( true ) : new Configuration ();
79+ $ config = new Configuration ();
8180 if (class_exists (DefaultSchemaManagerFactory::class)) {
8281 $ config ->setSchemaManagerFactory (new DefaultSchemaManagerFactory ());
8382 }
You can’t perform that action at this time.
0 commit comments