From 715dff050873b7bf1183ef24e2af0678bf22659d Mon Sep 17 00:00:00 2001 From: Denny Septian Panggabean Date: Mon, 22 Apr 2024 09:45:41 +0700 Subject: [PATCH] docs: _like phpdocs --- phpstan-baseline.php | 5 ----- system/Database/BaseBuilder.php | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/phpstan-baseline.php b/phpstan-baseline.php index 3260e4b6f8cb..3fdb6424df80 100644 --- a/phpstan-baseline.php +++ b/phpstan-baseline.php @@ -1791,11 +1791,6 @@ 'count' => 1, 'path' => __DIR__ . '/system/Database/BaseBuilder.php', ]; -$ignoreErrors[] = [ - 'message' => '#^Method CodeIgniter\\\\Database\\\\BaseBuilder\\:\\:_like\\(\\) has parameter \\$field with no value type specified in iterable type array\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/system/Database/BaseBuilder.php', -]; $ignoreErrors[] = [ 'message' => '#^Method CodeIgniter\\\\Database\\\\BaseBuilder\\:\\:_whereIn\\(\\) has parameter \\$values with no signature specified for Closure\\.$#', 'count' => 1, diff --git a/system/Database/BaseBuilder.php b/system/Database/BaseBuilder.php index d552580703ec..36a6ba7d73b9 100644 --- a/system/Database/BaseBuilder.php +++ b/system/Database/BaseBuilder.php @@ -1090,7 +1090,7 @@ public function orNotHavingLike($field, string $match = '', string $side = 'both * @used-by notHavingLike() * @used-by orNotHavingLike() * - * @param array|RawSql|string $field + * @param list|RawSql|string $field * * @return $this */