This commit is contained in:
s17113225 2022-09-26 21:17:20 +08:00
parent 220f55cedd
commit a78e9fb624
No known key found for this signature in database
GPG Key ID: 74731FC11FA38920
2 changed files with 4 additions and 4 deletions

View File

@ -183,8 +183,8 @@ class Validation implements ValidationInterface
* Runs the validation process, returning true or false
* determining whether validation was successful or not.
*
* @param object|array|string|int|float|bool|null $value
* @param string[] $errors
* @param array|bool|float|int|object|string|null $value
* @param string[] $errors
*/
public function check($value, string $rule, array $errors = []): bool
{

View File

@ -31,8 +31,8 @@ interface ValidationInterface
* Check; runs the validation process, returning true or false
* determining whether or not validation was successful.
*
* @param object|array|string|int|float|bool|null $value Value to validate.
* @param string[] $errors
* @param array|bool|float|int|object|string|null $value Value to validate.
* @param string[] $errors
*
* @return bool True if valid, else false.
*/