From 0df48062ac52b23e89b0effad48f70edfef85a92 Mon Sep 17 00:00:00 2001 From: whwyy Date: Mon, 18 Dec 2023 02:55:04 +0800 Subject: [PATCH] eee --- src/Validator/Validator.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Validator/Validator.php b/src/Validator/Validator.php index 782a047..50ad7d5 100644 --- a/src/Validator/Validator.php +++ b/src/Validator/Validator.php @@ -113,9 +113,6 @@ class Validator */ public function run(RequestInterface|ServerRequestInterface|ConstrictRequest $request): bool { - if (!empty($this->message)) { - return false; - } $params = !$request->isPost() ? $request->getQueryParams() : $request->getParsedBody(); foreach ($this->rules as $name => $rules) { /** @var array> $typeValidator */