Skip to content

Conversation

@othercorey
Copy link
Member

@othercorey othercorey commented Jun 14, 2025

This is really just an iterator converter, but I don't think anything else is needed.

@othercorey othercorey added this to the 3.next milestone Jun 14, 2025
Copy link
Member

@markstory markstory left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable to me.

@othercorey othercorey force-pushed the chronos-period branch 5 times, most recently from d0eae94 to 07c3f0c Compare June 15, 2025 05:34
@othercorey othercorey requested a review from ADmad June 15, 2025 18:26
{
/** @var \Iterator<int, \DateTimeInterface> $iterator */
$iterator = $period->getIterator();
$this->iterator = $iterator;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We assume getIterator() actually returns an InternalIterator even though IteratorAggregate is typed as Traversable.

@othercorey othercorey merged commit 021566f into 3.next Jun 17, 2025
6 checks passed
@othercorey othercorey deleted the chronos-period branch June 17, 2025 04:54
@dereuromark dereuromark mentioned this pull request Jun 18, 2025
@othercorey othercorey mentioned this pull request Jun 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants