fix:修复BUG/升级1.1.6版本
This commit is contained in:
4
vendor/webman/think-orm/src/_ide_helper.php
vendored
4
vendor/webman/think-orm/src/_ide_helper.php
vendored
@@ -82,7 +82,7 @@ namespace think\facade {
|
||||
* @throws \think\db\exception\BindParamException
|
||||
* @throws \PDOException
|
||||
*/
|
||||
public function query(string $sql, array $bind = []): array
|
||||
public static function query(string $sql, array $bind = []): array
|
||||
{
|
||||
/** @var \think\Db $instance */
|
||||
return $instance->query($sql,$bind);
|
||||
@@ -108,7 +108,7 @@ namespace think\facade {
|
||||
* @throws \think\db\exception\BindParamException
|
||||
* @throws \PDOException
|
||||
*/
|
||||
public function execute(string $sql, array $bind = []): int
|
||||
public static function execute(string $sql, array $bind = []): int
|
||||
{
|
||||
/** @var \think\Db $instance */
|
||||
return $instance->execute($sql,$bind);
|
||||
|
||||
Reference in New Issue
Block a user