改名
This commit is contained in:
@@ -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])) {
|
||||
|
||||
Reference in New Issue
Block a user