Skip to content

Conversation

rodion-k
Copy link

@rodion-k rodion-k commented Aug 8, 2021

No description provided.

Copy link
Collaborator

@homersimpsons homersimpsons left a comment

Choose a reason for hiding this comment

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

Thank you 🎉 Looks overall good.

Just 2 small comments. Also about PHPStan's output mabe you can find a way to restrict the types.

@@ -51,12 +51,12 @@ public function current()
/**
* @return int
*/
public function key()
public function key(): mixed
Copy link
Collaborator

Choose a reason for hiding this comment

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

I am not sure that we should introduce the mixed return type as this would require to target newer PHP version. What's your opinin on this ?

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.

2 participants