Skip to content

Commit

Permalink
rector and phpstan fix
Browse files Browse the repository at this point in the history
  • Loading branch information
maniaba authored and paulbalandan committed Dec 1, 2024
1 parent a11f8a0 commit 3c8efb2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions system/Validation/Rules.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,9 @@ public function is_unique($str, string $field, array $data): bool
/**
* Prepares the database query for uniqueness checks.
*
* @param mixed $value The value to check.
* @param string $field The field parameters.
* @param array $data Additional data.
* @param mixed $value The value to check.
* @param string $field The field parameters.
* @param array<string, mixed> $data Additional data.
*
* @return array{0: BaseBuilder, 1: string|null, 2: string|null}
*/
Expand Down
1 change: 0 additions & 1 deletion system/Validation/StrictRules/Rules.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

use CodeIgniter\Helpers\Array\ArrayHelper;
use CodeIgniter\Validation\Rules as NonStrictRules;
use Config\Database;

/**
* Validation Rules.
Expand Down

0 comments on commit 3c8efb2

Please sign in to comment.