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

[9.x] Fix ProhibitedIf docblock and constructor #42964

Merged
merged 1 commit into from
Jun 27, 2022

Conversation

BrandonSurowiec
Copy link
Contributor

@BrandonSurowiec BrandonSurowiec commented Jun 27, 2022

This applies the same fixes to ProhibitedIf as ExcludeIf.

Also, fixes the ExcludeIf @var docblock to match its constructor as a \Closure. This will make both classes uniformed.

This applies the same fixes to ProhibitIf as ExcludeIf.
- Missing @throws declaration in docblock: laravel#41729
- Enforces a boolean in the constructor: laravel#41931 laravel#41969

Also fixes the ExcludeIf @var docblock to match as a \Closure
@taylorotwell taylorotwell merged commit 1711a5c into laravel:9.x Jun 27, 2022
@BrandonSurowiec BrandonSurowiec deleted the validate-prohibit-if branch June 27, 2022 15:44
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