diff --git a/system/Database/BaseBuilder.php b/system/Database/BaseBuilder.php index 84c9e2cf6ca6..7c9347d54962 100644 --- a/system/Database/BaseBuilder.php +++ b/system/Database/BaseBuilder.php @@ -788,7 +788,6 @@ public function orWhere($key, $value = null, ?bool $escape = null) * @param non-empty-string $second Second column name * @param bool|null $escape Whether to protect identifiers * - * * @throws InvalidArgumentException */ public function whereColumn(string $first, string $second, ?bool $escape = null): static @@ -803,7 +802,6 @@ public function whereColumn(string $first, string $second, ?bool $escape = null) * @param non-empty-string $second Second column name * @param bool|null $escape Whether to protect identifiers * - * * @throws InvalidArgumentException */ public function orWhereColumn(string $first, string $second, ?bool $escape = null): static @@ -861,7 +859,6 @@ public function orWhereNotExists($subquery): static * @param non-empty-string $type * @param bool|null $escape Whether to protect identifiers * - * * @throws InvalidArgumentException */ protected function whereColumnHaving(string $qbKey, string $first, string $second, string $type = 'AND ', ?bool $escape = null): static @@ -913,7 +910,6 @@ private function parseWhereColumnFirst(string $first): array * * @param array|null $values The range values searched on * - * * @throws InvalidArgumentException */ public function whereBetween(?string $key = null, ?array $values = null, ?bool $escape = null): static @@ -927,7 +923,6 @@ public function whereBetween(?string $key = null, ?array $values = null, ?bool $ * * @param array|null $values The range values searched on * - * * @throws InvalidArgumentException */ public function orWhereBetween(?string $key = null, ?array $values = null, ?bool $escape = null): static @@ -941,7 +936,6 @@ public function orWhereBetween(?string $key = null, ?array $values = null, ?bool * * @param array|null $values The range values searched on * - * * @throws InvalidArgumentException */ public function whereNotBetween(?string $key = null, ?array $values = null, ?bool $escape = null): static @@ -955,7 +949,6 @@ public function whereNotBetween(?string $key = null, ?array $values = null, ?boo * * @param array|null $values The range values searched on * - * * @throws InvalidArgumentException */ public function orWhereNotBetween(?string $key = null, ?array $values = null, ?bool $escape = null): static @@ -969,7 +962,6 @@ public function orWhereNotBetween(?string $key = null, ?array $values = null, ?b * * @param array|null $values The range values searched on * - * * @throws InvalidArgumentException */ public function havingBetween(?string $key = null, ?array $values = null, ?bool $escape = null): static @@ -983,7 +975,6 @@ public function havingBetween(?string $key = null, ?array $values = null, ?bool * * @param array|null $values The range values searched on * - * * @throws InvalidArgumentException */ public function orHavingBetween(?string $key = null, ?array $values = null, ?bool $escape = null): static @@ -997,7 +988,6 @@ public function orHavingBetween(?string $key = null, ?array $values = null, ?boo * * @param array|null $values The range values searched on * - * * @throws InvalidArgumentException */ public function havingNotBetween(?string $key = null, ?array $values = null, ?bool $escape = null): static @@ -1011,7 +1001,6 @@ public function havingNotBetween(?string $key = null, ?array $values = null, ?bo * * @param array|null $values The range values searched on * - * * @throws InvalidArgumentException */ public function orHavingNotBetween(?string $key = null, ?array $values = null, ?bool $escape = null): static @@ -1033,7 +1022,6 @@ public function orHavingNotBetween(?string $key = null, ?array $values = null, ? * @param non-empty-string|null $key * @param array|null $values The range values searched on * - * * @throws InvalidArgumentException */ private function whereBetweenHaving(string $qbKey, ?string $key = null, ?array $values = null, bool $not = false, string $type = 'AND ', ?bool $escape = null): static @@ -1073,7 +1061,6 @@ private function whereBetweenHaving(string $qbKey, ?string $key = null, ?array $ * * @param BaseBuilder|(Closure(BaseBuilder): BaseBuilder) $subquery * - * * @throws InvalidArgumentException */ protected function whereExistsSubquery($subquery, bool $not = false, string $type = 'AND '): static @@ -1391,7 +1378,6 @@ public function like($field, string $match = '', string $side = 'both', ?bool $e * * @param list $fields * - * * @throws InvalidArgumentException */ public function likeAny(array $fields, string $match = '', string $side = 'both', ?bool $escape = null, bool $insensitiveSearch = false): static @@ -1430,7 +1416,6 @@ public function orLike($field, string $match = '', string $side = 'both', ?bool * * @param list $fields * - * * @throws InvalidArgumentException */ public function orLikeAny(array $fields, string $match = '', string $side = 'both', ?bool $escape = null, bool $insensitiveSearch = false): static @@ -1506,7 +1491,6 @@ public function orNotHavingLike($field, string $match = '', string $side = 'both /** * @param list $fields * - * * @throws InvalidArgumentException */ private function likeAnyGroup(array $fields, string $match, string $type, string $side, ?bool $escape, bool $insensitiveSearch, string $caller): static