Skip to content

Commit

Permalink
Code style
Browse files Browse the repository at this point in the history
  • Loading branch information
antonkomarev committed Jul 19, 2024
1 parent 5193c50 commit 4da01d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions test/Integration/AbstractIntegrationTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ private function findPostgresAdvisoryLockInConnection(
$lockCatalogId = ($id - $lockObjectId) / self::POSTGRES_BLOCK_SIZE;

$statement = $dbConnection->prepare(
<<<SQL
<<<'SQL'
SELECT *
FROM pg_locks
WHERE locktype = 'advisory'
Expand Down Expand Up @@ -130,7 +130,7 @@ private function findAllPostgresAdvisoryLocks(): array
$dbConnection = $this->initPostgresPdoConnection();

$statement = $dbConnection->prepare(
<<<SQL
<<<'SQL'
SELECT *
FROM pg_locks
WHERE locktype = 'advisory'
Expand All @@ -149,7 +149,7 @@ private function findAllPostgresAdvisoryLocks(): array
private function closeAllPostgresPdoConnections(): void
{
$this->initPostgresPdoConnection()->query(
<<<SQL
<<<'SQL'
SELECT pg_terminate_backend(pid)
FROM pg_stat_activity
WHERE pid <> pg_backend_pid()
Expand Down
2 changes: 1 addition & 1 deletion test/Integration/Locker/PostgresAdvisoryLockerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ private function initLocker(): PostgresAdvisoryLocker
}

private function initPostgresLockId(
string $lockKey
string $lockKey,
): PostgresLockId {
return PostgresLockId::fromLockId(new LockId($lockKey));
}
Expand Down

0 comments on commit 4da01d3

Please sign in to comment.