This commit is contained in:
yuri
2018-03-29 13:39:12 +03:00
parent 2477f5b696
commit 57f4980802
+1 -1
View File
@@ -182,7 +182,7 @@ class EntityManager
public function getRepository($name)
{
if (!$this->hasRepository($name)) {
throw new Error("ORM: Repository '{$name}' does not exist.");
// TODO Throw error
}
if (empty($this->repositoryHash[$name])) {