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(
9797 $ lockCatalogId = ($ id - $ lockObjectId ) / self ::POSTGRES_BLOCK_SIZE ;
9898
9999 $ statement = $ dbConnection ->prepare (
100- <<<SQL
100+ <<<' SQL'
101101 SELECT *
102102 FROM pg_locks
103103 WHERE locktype = 'advisory'
@@ -130,7 +130,7 @@ private function findAllPostgresAdvisoryLocks(): array
130130 $ dbConnection = $ this ->initPostgresPdoConnection ();
131131
132132 $ statement = $ dbConnection ->prepare (
133- <<<SQL
133+ <<<' SQL'
134134 SELECT *
135135 FROM pg_locks
136136 WHERE locktype = 'advisory'
@@ -149,7 +149,7 @@ private function findAllPostgresAdvisoryLocks(): array
149149 private function closeAllPostgresPdoConnections (): void
150150 {
151151 $ this ->initPostgresPdoConnection ()->query (
152- <<<SQL
152+ <<<' SQL'
153153 SELECT pg_terminate_backend(pid)
154154 FROM pg_stat_activity
155155 WHERE pid <> pg_backend_pid()
Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ private function initLocker(): PostgresAdvisoryLocker
369369 }
370370
371371 private function initPostgresLockId (
372- string $ lockKey
372+ string $ lockKey,
373373 ): PostgresLockId {
374374 return PostgresLockId::fromLockId (new LockId ($ lockKey ));
375375 }
You can’t perform that action at this time.
0 commit comments