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

Update forced method to accept Closure type #43

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

CodeWithDennis
Copy link
Contributor

This PR adds support for closures, allowing us to do something like this:

->forced(fn() => ! app()->isLocal())

@Baspa Baspa requested review from Baspa and removed request for Baspa September 20, 2024 09:35
@Baspa
Copy link
Member

Baspa commented Sep 20, 2024

Nice, thanks!

@Baspa Baspa merged commit 1d1f44f into vormkracht10:main Sep 20, 2024
10 checks passed
@CodeWithDennis CodeWithDennis deleted the force-closure-support branch September 20, 2024 09:59
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