forceRelease(); } if ($lock->get()) { return $lock; } return false; } catch (\BadMethodCallException $exception) { Log::channel('storage-jobs')->debug('Cache store does not support locks for command', [ 'lock' => $name, 'store' => config('cache.default'), 'exception' => $exception->getMessage(), ]); return null; } } }