Skip to content

Commit

Permalink
chore: update phpdoc in DB facade
Browse files Browse the repository at this point in the history
  • Loading branch information
albertcht committed Sep 12, 2024
1 parent a8827bd commit 483ff24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/support/src/Facades/DB.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use Hyperf\DbConnection\Db as HyperfDb;

/**
* @method static Builder table(string $table)
* @method static Builder table(Expression|string $table)
* @method static Expression raw($value)
* @method static mixed selectOne(string $query, array $bindings = [], bool $useReadPdo = true)
* @method static array select(string $query, array $bindings = [], bool $useReadPdo = true)
Expand All @@ -25,7 +25,7 @@
* @method static void commit()
* @method static int transactionLevel()
* @method static array pretend(Closure $callback)
* @method static ConnectionInterface connection(string $pool)
* @method static ConnectionInterface connection(?string $pool = null)
*
* @see HyperfDb
*/
Expand Down

0 comments on commit 483ff24

Please sign in to comment.