Reduced return type to entity interface

This commit is contained in:
Kevin Frantz
2019-02-18 19:19:37 +01:00
parent 656adef39b
commit 93606503f6
5 changed files with 8 additions and 8 deletions

View File

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