Skip to content

Commit 7ddbd13

Browse files
committed
rector and phpstan fix
1 parent 440545e commit 7ddbd13

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

system/Validation/Rules.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,9 @@ public function is_unique($str, string $field, array $data): bool
178178
/**
179179
* Prepares the database query for uniqueness checks.
180180
*
181-
* @param mixed $value The value to check.
182-
* @param string $field The field parameters.
183-
* @param array $data Additional data.
181+
* @param mixed $value The value to check.
182+
* @param string $field The field parameters.
183+
* @param array<string, mixed> $data Additional data.
184184
*
185185
* @return array{0: BaseBuilder, 1: string|null, 2: string|null}
186186
*/

system/Validation/StrictRules/Rules.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
use CodeIgniter\Helpers\Array\ArrayHelper;
1717
use CodeIgniter\Validation\Rules as NonStrictRules;
18-
use Config\Database;
1918

2019
/**
2120
* Validation Rules.

0 commit comments

Comments
 (0)