Skip to content

[9.x] Adds throwUnless function#42556

Merged
taylorotwell merged 2 commits into
laravel:9.xfrom
mahmoudmohamedramadan:9.x
May 30, 2022
Merged

[9.x] Adds throwUnless function#42556
taylorotwell merged 2 commits into
laravel:9.xfrom
mahmoudmohamedramadan:9.x

Conversation

@mahmoudmohamedramadan
Copy link
Copy Markdown
Contributor

This PR adds throwUnless function

@GrahamCampbell GrahamCampbell changed the title Adds throwUnless function [9.x] Adds throwUnless function May 29, 2022
@DarkGhostHunter
Copy link
Copy Markdown
Contributor

I think it should be better to add value() to the condition before adding throwUnless().

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.

3 participants