Skip to content

Commit

Permalink
Fix deprecated class in request.stub (laravel#46787)
Browse files Browse the repository at this point in the history
* Replace deprecated Illuminate\Contracts\Validation\Rule with
  ValidationRule.`
  • Loading branch information
teamradhq committed Apr 15, 2023
1 parent 0720d08 commit 3e5a6b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Foundation/Console/stubs/request.stub
Expand Up @@ -17,7 +17,7 @@ class {{ class }} extends FormRequest
/**
* Get the validation rules that apply to the request.
*
* @return array<string, \Illuminate\Contracts\Validation\Rule|array|string>
* @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array|string>
*/
public function rules(): array
{
Expand Down

0 comments on commit 3e5a6b3

Please sign in to comment.