[CI] Fixed invalid doctrine parameter syntax
This commit is contained in:
parent
75f8ac1e9b
commit
0ab3032c52
@ -62,7 +62,7 @@ class DoctrineIntegrationTest extends TestCase
|
|||||||
->select('m.available_at')
|
->select('m.available_at')
|
||||||
->from('messenger_messages', 'm')
|
->from('messenger_messages', 'm')
|
||||||
->where('m.body = :body')
|
->where('m.body = :body')
|
||||||
->setParameter(':body', '{"message": "Hi i am delayed"}')
|
->setParameter('body', '{"message": "Hi i am delayed"}')
|
||||||
->execute();
|
->execute();
|
||||||
|
|
||||||
$available_at = new \DateTime($stmt instanceof Result || $stmt instanceof DriverResult ? $stmt->fetchOne() : $stmt->fetchColumn());
|
$available_at = new \DateTime($stmt instanceof Result || $stmt instanceof DriverResult ? $stmt->fetchOne() : $stmt->fetchColumn());
|
||||||
|
Reference in New Issue
Block a user