Skip to content

Commit 5bdd18f

Browse files
committed
Fix deprecated method usage.
1 parent da70619 commit 5bdd18f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_app/Form/TestForm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ protected function _buildSchema(Schema $schema): Schema
3131
* @param \Cake\Validation\Validator $validator to use against the form
3232
* @return \Cake\Validation\Validator
3333
*/
34-
protected function _buildValidator(Validator $validator)
34+
public function validationDefault(Validator $validator): Validator
3535
{
3636
return $validator
3737
->requirePresence('accept')

0 commit comments

Comments
 (0)