Skip to content

Commit

Permalink
Issue vimeo/psalm#7331 was resolved in Psalm 4.19
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoboss committed Feb 2, 2022
1 parent 3502244 commit 67a288e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions src/IsEnumerable.php
Expand Up @@ -190,10 +190,6 @@ public function count(callable $predicate = null): int
return $iterator->count();
}

/**
* This can be removed once vimeo/psalm#7331 is resolved
* @var NonNegativeInteger
*/
return iterator_count($iterator);
}

Expand Down
4 changes: 0 additions & 4 deletions src/IsKeyedEnumerable.php
Expand Up @@ -199,10 +199,6 @@ public function count(callable $predicate = null): int
$iterator = new CallbackFilterIterator($this->getIterator(), $predicate);
}

/**
* This can be removed once vimeo/psalm#7331 is resolved
* @var NonNegativeInteger
*/
return iterator_count($iterator);
}

Expand Down

0 comments on commit 67a288e

Please sign in to comment.