Skip to content

Conversation

@bastien-phi
Copy link
Contributor

Fixes the closure type as defined in

$this->invokable->{$method}($attribute, $value, function ($attribute, $message = null) {
$this->failed = true;
return $this->pendingPotentiallyTranslatedString($attribute, $message);
});

@bastien-phi bastien-phi changed the title Fix $fail closure type in docblocks for validation rules [11.x] Fix $fail closure type in docblocks for validation rules Sep 4, 2024
@taylorotwell taylorotwell merged commit 769f00b into laravel:11.x Sep 4, 2024
@bastien-phi bastien-phi deleted the fix_fail_closure_type branch September 4, 2024 14:50
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