Skip to content

Commit

Permalink
Remove error silencing
Browse files Browse the repository at this point in the history
  • Loading branch information
sanmai committed Nov 7, 2022
1 parent 2981eba commit e90d579
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Standard.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit e90d579

Please sign in to comment.