spatie / ray

Debug with Ray to fix problems faster
https://myray.app
MIT License
568 stars 102 forks source link

Implement ray()->iterateOver(iterable, int), fixes #628 #629

Closed levu42 closed 2 years ago

levu42 commented 2 years ago

Implemented ray()->iterateOver(iterable $iterable, int $max = 10) as suggested in #628.

I'm not sure if the tests are done the best way, testing ->sentPayloads()[0]['payloads'], since in all other tests where it does an assertCount it justs tests directly on sentPayloads, but with how it looked to me my tests seem to test for the right thing.

spatie-bot commented 2 years ago

Dear contributor,

because this pull request seems to be inactive for quite some time now, I've automatically closed it. If you feel this pull request deserves some attention from my human colleagues feel free to reopen it.

levu42 commented 2 years ago

I would still like to see this in ray.