[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
New issue

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

ValidatorHelper::validatelength() must be of the type string, int given #1500

Open
lck8203 opened this issue May 22, 2023 · 0 comments
Open
Assignees
Labels
swoft: validator issues for swoft validator component

Comments

@lck8203
Copy link
lck8203 commented May 22, 2023

2023/05/22-10:28:42 [ERROR] App\Exception\Handler\HttpExceptionHandler:handle(40) Argument 1 passed to Swoft\Validator\Helper\ValidatorHelper::validatelength() must be of the type string, int given, called in /www/wwwroot/gateway/vendor/swoft/validator/src/Rule/LengthRule.php on line 44. (At /www/wwwroot/gateway/vendor/swoft/validator/src/Helper/ValidatorHelper.php line 89)
1,修复日期验证报错。数据:2023-05-22 8:15:35
2,修化日期验证,使时分秒为可选内容(如:2023-05-22)

@github-actions github-actions bot added the swoft: validator issues for swoft validator component label May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
swoft: validator issues for swoft validator component
Projects
None yet
Development

No branches or pull requests

2 participants