orm refactoring

This commit is contained in:
Yuri Kuznetsov
2021-04-22 18:45:50 +03:00
parent f15a73200f
commit 04cb611183
3 changed files with 4 additions and 4 deletions
@@ -178,7 +178,7 @@ abstract class BaseQueryComposer implements QueryComposer
protected function getSeed(?string $entityType): Entity
{
if (!$entityType) {
return new BaseEntity('_Stub');
return new BaseEntity('_Stub', []);
}
if (empty($this->seedCache[$entityType])) {