Permalink
Browse files

Add missing static keyword.

  • Loading branch information...
dereuromark committed May 31, 2015
1 parent d7d8b90 commit 2a5cbb8037f891a267324f6ec4dfa61db4ab52b2
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Utility/Validation.php
@@ -56,7 +56,7 @@ class Validation {
* @deprecated 2.7.0 Use Validation::notBlank() instead.
* @see Validation::notBlank()
*/
public function notEmpty($check) {
public static function notEmpty($check) {
trigger_error('Validation::notEmpty() is deprecated. Use Validation::notBlank() instead.', E_USER_DEPRECATED);
return self::notBlank($check);
}

0 comments on commit 2a5cbb8

Please sign in to comment.