From e90d579c5afaf5a60edf30e6f37b74ae834ddc21 Mon Sep 17 00:00:00 2001 From: Alexey Kopytko Date: Tue, 8 Nov 2022 02:17:15 +0900 Subject: [PATCH] Remove error silencing --- src/Standard.php | 3 --- 1 file changed, 3 deletions(-) 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;