This commit is contained in:
2020-10-29 18:17:25 +08:00
parent 6839b64be8
commit 53ae43b79b
198 changed files with 708 additions and 850 deletions
+10 -8
View File
@@ -5,7 +5,7 @@
* Date: 2018/4/4 0004
* Time: 14:42
*/
declare(strict_types=1);
namespace Database;
use Snowflake\Abstracts\Component;
@@ -24,26 +24,28 @@ class ActiveQuery extends Component
use QueryTrait;
/** @var array */
public $with = [];
public array $with = [];
/** @var bool */
public $asArray = FALSE;
public bool $asArray = FALSE;
/** @var bool */
public $useCache = FALSE;
public bool $useCache = FALSE;
/** @var Connection $db */
public $db = NULL;
/**
* @var Connection|null
*/
public ?Connection $db = NULL;
/**
* @var array
* 参数绑定
*/
public $attributes = [];
public array $attributes = [];
/** @var ActiveRecord */
public $modelClass;
public ActiveRecord $modelClass;
/**
* Comply constructor.