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
@@ -18,7 +18,7 @@ class UniqueValidator extends BaseValidator
* @throws
* 检查是否存在
*/
public function trigger()
public function trigger(): bool
{
$param = $this->getParams();
if (empty($param) || !isset($param[$this->field])) {