Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 293b237

Browse files
thsmrtone1jderusse
andauthored
Update src/Symfony/Component/Messenger/Transport/Doctrine/Connection.php
Co-authored-by: Jérémy Derussé <[email protected]>
1 parent 755a9c0 commit 293b237

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Messenger/Transport/Doctrine/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public function get(): ?array
172172
$sql = str_replace(
173173
sprintf('FROM %s WHERE', $fromClause),
174174
sprintf('FROM %s WHERE', $this->driverConnection->getDatabasePlatform()->appendLockHint($fromClause, LockMode::PESSIMISTIC_WRITE)),
175-
$query->getSQL()
175+
$sql
176176
);
177177
}
178178

0 commit comments

Comments
 (0)