mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
cs-fix
This commit is contained in:
parent
220f55cedd
commit
a78e9fb624
@ -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
|
||||
{
|
||||
|
@ -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.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user