Skip to content

Commit 69af961

Browse files
committed
Finish getModel method
1 parent 01cb2d9 commit 69af961

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Component/Form/FormRepository.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,8 @@ public function getModel(): ?object
189189
if (empty($modelClass)) {
190190
return null;
191191
}
192+
193+
return $this->objectManager->get($modelClass);
192194
}
193195

194196
public function getResourceModel(): ?AbstractDb

0 commit comments

Comments
 (0)