Skip to content

Commit d139051

Browse files
committed
minor #14406 Fix link to acquireRead (l-vo)
This PR was merged into the 5.x branch. Discussion ---------- Fix link to acquireRead Fix link to acquireRead: should target SharedLockInterface instead of LockInterface Commits ------- d243017 Fix link to acquireRead
2 parents 9855928 + d243017 commit d139051

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/lock.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ but an exclusive lock is needed for writing or modifying data. They are used for
221221
example for data structures that cannot be updated atomically and are invalid
222222
until the update is complete.
223223

224-
Use the :method:`Symfony\\Component\\Lock\\LockInterface::acquireRead` method
224+
Use the :method:`Symfony\\Component\\Lock\\SharedLockInterface::acquireRead` method
225225
to acquire a read-only lock, and the existing
226226
:method:`Symfony\\Component\\Lock\\LockInterface::acquire` method to acquire a
227227
write lock::

0 commit comments

Comments
 (0)