Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add helper to ease creating an empty result #497

Merged
merged 3 commits into from
Feb 28, 2025

Conversation

Toflar
Copy link
Member

@Toflar Toflar commented Feb 27, 2025

Creating an empty search result is a very valid case and because creating an empty generator is a bit cumbersome, I think this qualifies for a helper factory method 😊

@Toflar
Copy link
Member Author

Toflar commented Feb 27, 2025

We should probably use new self() and make that class final. Wdyt?

@alexander-schranz
Copy link
Member

Docker seems kind of down/flacky so fails unrelated.

@alexander-schranz alexander-schranz added features New feature or request DX Improves the developer experience labels Feb 27, 2025
Co-authored-by: Alexander Schranz <[email protected]>
@alexander-schranz alexander-schranz changed the title Added helper to ease creating an empty result Add helper to ease creating an empty result Feb 28, 2025
@alexander-schranz alexander-schranz merged commit e82cda0 into PHP-CMSIG:0.7 Feb 28, 2025
47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DX Improves the developer experience features New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants