改名
This commit is contained in:
@@ -17,7 +17,7 @@ use Exception;
|
||||
class CollectionIterator extends \ArrayIterator
|
||||
{
|
||||
|
||||
private ActiveRecord $model;
|
||||
private ActiveRecord|string $model;
|
||||
|
||||
|
||||
/** @var ActiveQuery */
|
||||
|
||||
@@ -41,9 +41,9 @@ trait QueryTrait
|
||||
public bool $ifNotWhere = false;
|
||||
|
||||
/**
|
||||
* @var ?ActiveRecord
|
||||
* @var ActiveRecord|string|null
|
||||
*/
|
||||
public ?ActiveRecord $modelClass;
|
||||
public ActiveRecord|string|null $modelClass;
|
||||
|
||||
/**
|
||||
* clear
|
||||
|
||||
Reference in New Issue
Block a user