This commit is contained in:
2020-12-17 14:09:14 +08:00
parent 672a719dbd
commit 36c1d0502a
151 changed files with 1937 additions and 2848 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ class EmailValidator extends BaseValidator
* @return bool
* 检查是否存在
*/
public function trigger()
public function trigger(): bool
{
$param = $this->getParams();
if (empty($param) || !isset($param[$this->field])) {