Skip to content

Commit

Permalink
[10.x] Add UncompromisedVerifier::class to provides() in `Validat…
Browse files Browse the repository at this point in the history
…ionServiceProvider` (#47500)

* Add UncompromisedVerifier::class to provides() in ValidationServiceProvider

* StyleCi fix

* formatting

* formatting

* StyleCi fix

---------

Co-authored-by: Volodya Khurshudyan <[email protected]>
  • Loading branch information
xurshudyan and Volodya Khurshudyan authored Jun 20, 2023
1 parent 31b3d29 commit a33b766
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Illuminate/Validation/ValidationServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ protected function registerUncompromisedVerifier()
*/
public function provides()
{
return [
'validator', 'validation.presence',
];
return ['validator', 'validation.presence', UncompromisedVerifier::class];
}
}

0 comments on commit a33b766

Please sign in to comment.