fix:更新已知bug,优化代码
This commit is contained in:
@@ -13,7 +13,6 @@ namespace Symfony\Component\Console\Command;
|
||||
|
||||
use Symfony\Component\Console\Exception\LogicException;
|
||||
use Symfony\Component\Lock\LockFactory;
|
||||
use Symfony\Component\Lock\LockInterface;
|
||||
use Symfony\Component\Lock\Store\FlockStore;
|
||||
use Symfony\Component\Lock\Store\SemaphoreStore;
|
||||
|
||||
@@ -24,8 +23,7 @@ use Symfony\Component\Lock\Store\SemaphoreStore;
|
||||
*/
|
||||
trait LockableTrait
|
||||
{
|
||||
/** @var LockInterface|null */
|
||||
private $lock;
|
||||
private $lock = null;
|
||||
|
||||
/**
|
||||
* Locks a command.
|
||||
|
||||
Reference in New Issue
Block a user