Skip to content

Commit 220f55c

Browse files
committed
docs change and cs-fix
1 parent df5d7fd commit 220f55c

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

system/Validation/Rules.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ public function not_in_list(?string $value, string $list): bool
209209
}
210210

211211
/**
212-
* @param object|array|string|int|float|null $str
212+
* @param array|bool|float|int|object|string|null $str
213213
*/
214214
public function required($str = null): bool
215215
{

system/Validation/ValidationInterface.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,8 @@ public function run(?array $data = null, ?string $group = null): bool;
3131
* Check; runs the validation process, returning true or false
3232
* determining whether or not validation was successful.
3333
*
34-
* @param object|array|string|int|float|bool|null $value Value to validation.
35-
* @param string $rule Rule.
36-
* @param string[] $errors Errors.
34+
* @param object|array|string|int|float|bool|null $value Value to validate.
35+
* @param string[] $errors
3736
*
3837
* @return bool True if valid, else false.
3938
*/

0 commit comments

Comments
 (0)