|
|
@@ -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)
|