-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Currently isEmpty() will return false when an instance of Generator is passed, because it is an \Iterator, but doesn't implement the \Countable interface, so the predicate uses empty() on the variable which naturally returns false as the variable is not empty. However, the question arises if this is expected behavior when passing an instance of \Generator.
Metadata
Metadata
Assignees
Labels
No labels