This commit is contained in:
2021-04-28 15:52:08 +08:00
parent 3a20af1d22
commit 1c39bf1f2b
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ use Exception;
class CollectionIterator extends \ArrayIterator class CollectionIterator extends \ArrayIterator
{ {
private ActiveRecord $model; private ActiveRecord|string $model;
/** @var ActiveQuery */ /** @var ActiveQuery */
+2 -2
View File
@@ -41,9 +41,9 @@ trait QueryTrait
public bool $ifNotWhere = false; public bool $ifNotWhere = false;
/** /**
* @var ?ActiveRecord * @var ActiveRecord|string|null
*/ */
public ?ActiveRecord $modelClass; public ActiveRecord|string|null $modelClass;
/** /**
* clear * clear