Skip to content

Commit

Permalink
Fix up usage.
Browse files Browse the repository at this point in the history
Refs #12024
  • Loading branch information
markstory committed Apr 30, 2018
1 parent 309658f commit 0cb6d51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_app/TestApp/Form/ValidateForm.php
Expand Up @@ -21,7 +21,7 @@ class ValidateForm extends Form

protected function _buildValidator(\Cake\Validation\Validator $validator)
{
return parent::validator($validator)
return $validator
->requirePresence('title');
}
}

0 comments on commit 0cb6d51

Please sign in to comment.