mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Add missing static keyword.
This commit is contained in:
parent
d7d8b90986
commit
2a5cbb8037
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class Validation {
|
||||||
* @deprecated 2.7.0 Use Validation::notBlank() instead.
|
* @deprecated 2.7.0 Use Validation::notBlank() instead.
|
||||||
* @see Validation::notBlank()
|
* @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);
|
trigger_error('Validation::notEmpty() is deprecated. Use Validation::notBlank() instead.', E_USER_DEPRECATED);
|
||||||
return self::notBlank($check);
|
return self::notBlank($check);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue