Browse Source

Add @throws tag to docblock

Walther Lalk 9 years ago
parent
commit
e8df362ca5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/Validation/ValidatorAwareTrait.php

+ 1 - 0
src/Validation/ValidatorAwareTrait.php

@@ -92,6 +92,7 @@ trait ValidatorAwareTrait
      * @param \Cake\Validation\Validator|null $validator The validator instance to store,
      *   use null to get a validator.
      * @return \Cake\Validation\Validator
+     * @throws \RuntimeException
      */
     public function validator($name = null, Validator $validator = null)
     {