mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Solved some small bugs
This commit is contained in:
@@ -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