mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-03 13:40:00 +09:00
Update dependencies
This commit is contained in:
@@ -42,7 +42,7 @@ trait ContractsTrait
|
||||
public function setCallbackWrapper(?callable $callbackWrapper): callable
|
||||
{
|
||||
if (!isset($this->callbackWrapper)) {
|
||||
$this->callbackWrapper = [LockRegistry::class, 'compute'];
|
||||
$this->callbackWrapper = \Closure::fromCallable([LockRegistry::class, 'compute']);;
|
||||
|
||||
if (\in_array(\PHP_SAPI, ['cli', 'phpdbg'], true)) {
|
||||
$this->setCallbackWrapper(null);
|
||||
|
||||
Reference in New Issue
Block a user