Skip to content

Commit b29b0f8

Browse files
committed
fix: ValidationInterface::run()
1 parent 9e5b146 commit b29b0f8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

system/Validation/ValidationInterface.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,13 @@ interface ValidationInterface
2020
{
2121
/**
2222
* Runs the validation process, returning true/false determining whether
23-
* or not validation was successful.
23+
* validation was successful or not.
2424
*
25-
* @param array $data The array of data to validate.
26-
* @param string $group The pre-defined group of rules to apply.
25+
* @param array|null $data The array of data to validate.
26+
* @param string|null $group The predefined group of rules to apply.
27+
* @param string|null $dbGroup The database group to use.
2728
*/
28-
public function run(?array $data = null, ?string $group = null): bool;
29+
public function run(?array $data = null, ?string $group = null, ?string $dbGroup = null): bool;
2930

3031
/**
3132
* Check; runs the validation process, returning true or false

0 commit comments

Comments
 (0)