Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/Symfony/Component/Lock/NoLock.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,13 @@
*
* @author Wouter de Jong <[email protected]>
*/
final class NoLock implements LockInterface
final class NoLock implements SharedLockInterface
{
public function acquireRead(bool $blocking = false): bool
{
return true;
}

public function acquire(bool $blocking = false): bool
{
return true;
Expand Down