File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ private function findPostgresAdvisoryLockInConnection(
97
97
$ lockCatalogId = ($ id - $ lockObjectId ) / self ::POSTGRES_BLOCK_SIZE ;
98
98
99
99
$ statement = $ dbConnection ->prepare (
100
- <<<SQL
100
+ <<<' SQL'
101
101
SELECT *
102
102
FROM pg_locks
103
103
WHERE locktype = 'advisory'
@@ -130,7 +130,7 @@ private function findAllPostgresAdvisoryLocks(): array
130
130
$ dbConnection = $ this ->initPostgresPdoConnection ();
131
131
132
132
$ statement = $ dbConnection ->prepare (
133
- <<<SQL
133
+ <<<' SQL'
134
134
SELECT *
135
135
FROM pg_locks
136
136
WHERE locktype = 'advisory'
@@ -149,7 +149,7 @@ private function findAllPostgresAdvisoryLocks(): array
149
149
private function closeAllPostgresPdoConnections (): void
150
150
{
151
151
$ this ->initPostgresPdoConnection ()->query (
152
- <<<SQL
152
+ <<<' SQL'
153
153
SELECT pg_terminate_backend(pid)
154
154
FROM pg_stat_activity
155
155
WHERE pid <> pg_backend_pid()
Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ private function initLocker(): PostgresAdvisoryLocker
369
369
}
370
370
371
371
private function initPostgresLockId (
372
- string $ lockKey
372
+ string $ lockKey,
373
373
): PostgresLockId {
374
374
return PostgresLockId::fromLockId (new LockId ($ lockKey ));
375
375
}
You can’t perform that action at this time.
0 commit comments