Add missing static keyword.

This commit is contained in:
Mark Scherer 2015-05-31 13:40:22 +02:00
parent d7d8b90986
commit 2a5cbb8037

View file

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