Skip to content

Commit c0bf639

Browse files
committed
fix(database): avoid unrelated model psalm issues
Signed-off-by: memleakd <121398829+memleakd@users.noreply.github.com>
1 parent 1cb12d5 commit c0bf639

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

system/Model.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
use CodeIgniter\Database\Exceptions\DatabaseException;
2121
use CodeIgniter\Database\Exceptions\DataException;
2222
use CodeIgniter\Database\Exceptions\UniqueConstraintViolationException;
23-
use CodeIgniter\Database\JoinClause;
24-
use CodeIgniter\Database\RawSql;
2523
use CodeIgniter\Entity\Entity;
2624
use CodeIgniter\Exceptions\BadMethodCallException;
2725
use CodeIgniter\Exceptions\InvalidArgumentException;
@@ -53,6 +51,7 @@
5351
* @method $this havingIn(?string $key = null, $values = null, ?bool $escape = null)
5452
* @method $this havingLike($field, string $match = '', string $side = 'both', ?bool $escape = null, bool $insensitiveSearch = false)
5553
* @method $this havingNotIn(?string $key = null, $values = null, ?bool $escape = null)
54+
* @method $this join(string $table, string $cond, string $type = '', ?bool $escape = null)
5655
* @method $this like($field, string $match = '', string $side = 'both', ?bool $escape = null, bool $insensitiveSearch = false)
5756
* @method $this limit(?int $value = null, ?int $offset = 0)
5857
* @method $this notGroupStart()
@@ -82,7 +81,6 @@
8281
* @method $this selectMax(string $select = '', string $alias = '')
8382
* @method $this selectMin(string $select = '', string $alias = '')
8483
* @method $this selectSum(string $select = '', string $alias = '')
85-
* @method $this join(string $table, string|Closure(JoinClause):void|RawSql $cond, string $type = '', ?bool $escape = null)
8684
* @method $this when($condition, callable $callback, ?callable $defaultCallback = null)
8785
* @method $this whenNot($condition, callable $callback, ?callable $defaultCallback = null)
8886
* @method $this where($key, $value = null, ?bool $escape = null)

0 commit comments

Comments
 (0)