Minor tweak

This commit is contained in:
Javier Eguiluz
2025-10-17 11:20:56 +02:00
parent fa8ff3139d
commit eb39726dd6

View File

@@ -55,6 +55,8 @@ a ``$lockFactory`` property with your own lock factory::
{
use LockableTrait;
// don't use PHP constructor property promotion here because the
// LockableTrait already defines the `$lockFactory` property in this class
public function __construct(LockFactory $lockFactory)
{
$this->lockFactory = $lockFactory;