diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 1c68e783..4a266db9 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -1,5 +1,5 @@ - + diff --git a/src/Internal/Promise/CancellationQueue.php b/src/Internal/Promise/CancellationQueue.php index b7ba16ac..59c27943 100644 --- a/src/Internal/Promise/CancellationQueue.php +++ b/src/Internal/Promise/CancellationQueue.php @@ -41,6 +41,7 @@ public function __invoke(): void private function drain(): void { + /** @psalm-suppress PossiblyNullArrayOffset */ for ($i = \key($this->queue); isset($this->queue[$i]); $i++) { $cancellable = $this->queue[$i];