Solved some small bugs

This commit is contained in:
Kevin Frantz committed 2019-02-16 18:02:28 +01:00
1 parent 7dae633ec7
commit 6083c51c2e
3 files changed
+9 -3

No files matched your search

@@ -31,9 +31,9 @@ final class MVCRoutineService implements MVCRoutineServiceInterface
{
switch (gettype($result)) {
case 'object':
return ['entity' => $this->result];
return ['entity' => $result];
case 'array':
return ['enitits' => $this->result];
return ['entities' => $result];
case 'null':
return [];
}