Skip to content

Commit a9ac0bb

Browse files
committed
Fix missing InvalidArgumentException in Database\BaseBuilder
1 parent 7179fcc commit a9ac0bb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

system/Database/BaseBuilder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,7 @@ protected function _whereIn(string $key = null, $values = null, bool $not = fals
997997
{
998998
if (CI_DEBUG)
999999
{
1000-
throw new InvalidArgumentException(sprintf('%s() expects $key to be a non-empty string', debug_backtrace(0, 2)[1]['function']));
1000+
throw new \InvalidArgumentException(sprintf('%s() expects $key to be a non-empty string', debug_backtrace(0, 2)[1]['function']));
10011001
}
10021002

10031003
return $this;
@@ -1007,7 +1007,7 @@ protected function _whereIn(string $key = null, $values = null, bool $not = fals
10071007
{
10081008
if (CI_DEBUG)
10091009
{
1010-
throw new InvalidArgumentException(sprintf('%s() expects $values to be of type array or closure', debug_backtrace(0, 2)[1]['function']));
1010+
throw new \InvalidArgumentException(sprintf('%s() expects $values to be of type array or closure', debug_backtrace(0, 2)[1]['function']));
10111011
}
10121012

10131013
return $this;

0 commit comments

Comments
 (0)