Browse Source

Refer to correct method

Michael Hoffmann 8 years ago
parent
commit
68c56713c9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Validation/Validator.php

+ 1 - 1
src/Validation/Validator.php

@@ -1580,7 +1580,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string|null $message The error message when the rule fails.
      * @param string|callable|null $when Either 'create' or 'update' or a callable that returns
      *   true when the validation rule should be applied.
-     * @see \Cake\Validation\Validation::color()
+     * @see \Cake\Validation\Validation::hexColor()
      * @return $this
      */
     public function hexColor($field, $message = null, $when = null)