cocur / chain

Chain provides you with a consistent and chainable way to work with arrays in PHP.
MIT License
81 stars 11 forks source link

Use self return type #45

Closed nreynis closed 4 years ago

nreynis commented 4 years ago

I rewrote the return types to use self instead of Chain. This have several advantages:

Obsoletes #44

Kudos to Symfony for making me aware of this superior syntax.

florianeckerstorfer commented 4 years ago

Thanks, awesome work