diff --git a/src/Standard.php b/src/Standard.php index 76c55e7..10222d8 100644 --- a/src/Standard.php +++ b/src/Standard.php @@ -223,7 +223,6 @@ public function map(?callable $func = null): self // That's the standard case for any next stages. if (is_iterable($this->pipeline)) { - /** @phan-suppress-next-line PhanTypeMismatchArgument */ $this->pipeline = self::apply($this->pipeline, $func); return $this; @@ -292,7 +291,6 @@ public function cast(callable $func = null): self } if (is_iterable($this->pipeline)) { - /** @phan-suppress-next-line PhanTypeMismatchArgument */ $this->pipeline = self::applyOnce($this->pipeline, $func); return $this; @@ -348,7 +346,6 @@ public function filter(?callable $func = null): self /** @var Iterator $iterator */ $iterator = $this->pipeline; - /** @phan-suppress-next-line PhanTypeMismatchArgumentInternal */ $this->pipeline = new CallbackFilterIterator($iterator, $func); return $this;