mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2026-10-30 17:22:08 +00:00
Solved some small bugs
This commit is contained in:
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 [];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user