Skip to content

Commit 7c99b93

Browse files
Use "null" so the lock is named automatically
1 parent 615817e commit 7c99b93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

console/lockable_trait.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ that adds two convenient methods to lock and release commands::
3030
}
3131

3232
// If you prefer to wait until the lock is released, use this:
33-
// $this->lock('lockname', true);
33+
// $this->lock(null, true);
3434

3535
// ...
3636

0 commit comments

Comments
 (0)