eee
This commit is contained in:
@@ -117,7 +117,6 @@ class Validator
|
|||||||
public function run(RequestInterface|ServerRequestInterface|ConstrictRequest $request): bool
|
public function run(RequestInterface|ServerRequestInterface|ConstrictRequest $request): bool
|
||||||
{
|
{
|
||||||
$params = !$request->isPost() ? $request->getQueryParams() : $request->getParsedBody();
|
$params = !$request->isPost() ? $request->getQueryParams() : $request->getParsedBody();
|
||||||
var_dump($params);
|
|
||||||
foreach ($this->rules as $name => $rules) {
|
foreach ($this->rules as $name => $rules) {
|
||||||
/** @var array<array<TypesProxy,string>> $typeValidator */
|
/** @var array<array<TypesProxy,string>> $typeValidator */
|
||||||
$typeValidator = array_pop($rules);
|
$typeValidator = array_pop($rules);
|
||||||
|
|||||||
Reference in New Issue
Block a user