We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The text was updated successfully, but these errors were encountered:
好的,这边测试下。感谢反馈。
Sorry, something went wrong.
这边测试是可以验证的啊,请您提供详细的调用代码。 这边测试是ok的。
<?php require_once __DIR__ . '/vendor/autoload.php'; $validate = new \EasySwoole\Validate\Validate(); $validate->addColumn('inputs')->isArray('not array!'); $bool = $validate->validate([ 'inputs' => [ [ 'address' => '1', 'amount' => '2' ], [ 'address' => '3', 'amount' => '4' ], ] ]); var_dump($bool); // true var_dump($validate->getError()); // NULL
No branches or pull requests
The text was updated successfully, but these errors were encountered: