diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Service/DetectionService.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Service/DetectionService.php b/lib/Service/DetectionService.php index ca69c31..503066a 100644 --- a/lib/Service/DetectionService.php +++ b/lib/Service/DetectionService.php @@ -59,10 +59,11 @@ class DetectionService { public function getDetections() { $detectionObjects = array(); + //array_push($detectionObjects, new Detection(1, array())); return $detectionObjects; } public function getDetection($id) { - return DetectionSerializer::deserialize(json_decode(new Detection())); + return DetectionSerializer::deserialize(json_decode(new Detection(1, array()))); } }
\ No newline at end of file |