Skip to content

Commit eb39726

Browse files
committed
Minor tweak
1 parent fa8ff31 commit eb39726

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

console/lockable_trait.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ a ``$lockFactory`` property with your own lock factory::
5555
{
5656
use LockableTrait;
5757

58+
// don't use PHP constructor property promotion here because the
59+
// LockableTrait already defines the `$lockFactory` property in this class
5860
public function __construct(LockFactory $lockFactory)
5961
{
6062
$this->lockFactory = $lockFactory;

0 commit comments

Comments
 (0)