Skip to content

Commit 58a42a9

Browse files
committed
Improve documentation
1 parent c8511f4 commit 58a42a9

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/Locker/PostgresAdvisoryLockTypeEnum.php

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,16 @@
77
/**
88
* PostgresAdvisoryLockTypeEnum defines the type of advisory lock acquisition.
99
*
10-
* - NonBlocking: Attempt to acquire the lock without blocking (PG_TRY_ADVISORY_LOCK, PG_TRY_ADVISORY_XACT_LOCK).
11-
* - Blocking: Acquire the lock, blocking until it becomes available (PG_ADVISORY_LOCK, PG_ADVISORY_XACT_LOCK).
10+
* - NonBlocking. Attempt to acquire the lock without blocking:
11+
* - PG_TRY_ADVISORY_LOCK
12+
* - PG_TRY_ADVISORY_LOCK_SHARE
13+
* - PG_TRY_ADVISORY_XACT_LOCK
14+
* - PG_TRY_ADVISORY_XACT_LOCK_SHARE
15+
* - Blocking. Acquire the lock, blocking until it becomes available:
16+
* - PG_ADVISORY_LOCK
17+
* - PG_ADVISORY_LOCK_SHARE
18+
* - PG_ADVISORY_XACT_LOCK
19+
* - PG_ADVISORY_XACT_LOCK_SHARE
1220
*/
1321
enum PostgresAdvisoryLockTypeEnum
1422
{

0 commit comments

Comments
 (0)