From 44ca802c885b3c252bbc7f44bf27b9058eb78f3e Mon Sep 17 00:00:00 2001 From: Carnage Date: Sat, 10 Oct 2020 12:17:29 +0100 Subject: [PATCH] fix Coding standards --- tests/Functional/Query/QueryBuilderTest.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/Functional/Query/QueryBuilderTest.php b/tests/Functional/Query/QueryBuilderTest.php index 639a88b5eca..1d821d871a8 100644 --- a/tests/Functional/Query/QueryBuilderTest.php +++ b/tests/Functional/Query/QueryBuilderTest.php @@ -46,9 +46,9 @@ protected function setUp(): void self::$generated = true; } - public function testReadLock() + public function testReadLock(): void { - $sut = $this->connection->createQueryBuilder(); + $sut = $this->connection->createQueryBuilder(); $query = $sut->select('lt.*') ->from('lock_test_table', 'lt') ->setLockMode(LockMode::PESSIMISTIC_READ) @@ -60,11 +60,11 @@ public function testReadLock() self::assertEquals(1, $record[0]['primary_key']); } - public function testWriteLock() + public function testWriteLock(): void { - $sut = $this->connection->createQueryBuilder(); + $sut = $this->connection->createQueryBuilder(); $query = $sut->select('lt.*') - ->from('lock_test_table') + ->from('lock_test_table', 'lt') ->setLockMode(LockMode::PESSIMISTIC_WRITE) ->where($sut->expr()->eq('lt.data', '?')) ->setParameter(0, 'bar', ParameterType::STRING);