mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
docs change and cs-fix
This commit is contained in:
parent
df5d7fdf37
commit
220f55cedd
@ -209,7 +209,7 @@ class Rules
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param object|array|string|int|float|null $str
|
* @param array|bool|float|int|object|string|null $str
|
||||||
*/
|
*/
|
||||||
public function required($str = null): bool
|
public function required($str = null): bool
|
||||||
{
|
{
|
||||||
|
@ -31,9 +31,8 @@ interface ValidationInterface
|
|||||||
* Check; runs the validation process, returning true or false
|
* Check; runs the validation process, returning true or false
|
||||||
* determining whether or not validation was successful.
|
* determining whether or not validation was successful.
|
||||||
*
|
*
|
||||||
* @param object|array|string|int|float|bool|null $value Value to validation.
|
* @param object|array|string|int|float|bool|null $value Value to validate.
|
||||||
* @param string $rule Rule.
|
* @param string[] $errors
|
||||||
* @param string[] $errors Errors.
|
|
||||||
*
|
*
|
||||||
* @return bool True if valid, else false.
|
* @return bool True if valid, else false.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user