Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/ItemList.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
* @author Jeremie Constant <j.constant@imi.de>
* @author Richard Henkenjohann <richardhenkenjohann@googlemail.com>
* @author Sven Baumann <baumann.sv@gmail.com>
* @author Benedict Zinke <bz@presentprogressive.de>
* @copyright 2012-2019 The MetaModels team.
* @license https://github.com/MetaModels/core/blob/master/LICENSE LGPL-3.0-or-later
* @filesource
Expand Down Expand Up @@ -483,7 +484,7 @@ protected function prepareMetaModel()
$factory = $this->getFactory();
$this->objMetaModel = $factory->getMetaModel($factory->translateIdToMetaModelName($this->intMetaModel));
if (!$this->objMetaModel) {
throw new \RuntimeException('Could get metamodel id: ' . $this->intMetaModel);
throw new \RuntimeException('Could not get metamodel with id: ' . $this->intMetaModel);
}
}

Expand Down