Skip to content

Commit 62da38d

Browse files
committed
doctrine schema
1 parent d09cf84 commit 62da38d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/enqueue/Doctrine/DoctrineConnectionFactoryFactory.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function create($config): ConnectionFactory
4242

4343
$dsn = Dsn::parseFirst($config['dsn']);
4444

45-
if ($dsn->getScheme() === 'doctrine') {
45+
if ('doctrine' === $dsn->getScheme()) {
4646
$config = $dsn->getQuery();
4747
$config['connection_name'] = $dsn->getHost();
4848

pkg/enqueue/Doctrine/DoctrineDriverFactory.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function create(ConnectionFactory $factory, Config $config, RouteCollecti
3232

3333
$dsn = Dsn::parseFirst($dsn);
3434

35-
if ($dsn->getScheme() === 'doctrine') {
35+
if ('doctrine' === $dsn->getScheme()) {
3636
return new DbalDriver($factory->createContext(), $config, $collection);
3737
}
3838

0 commit comments

Comments
 (0)