diff options
author | Matthias <ilovemilk@wusa.io> | 2020-04-11 18:11:48 +0300 |
---|---|---|
committer | Matthias <ilovemilk@wusa.io> | 2020-04-11 18:11:48 +0300 |
commit | 158a1c41dd41fe6b602dc29aa31ab95beb8b6793 (patch) | |
tree | 670e0e66c78113f64cf62fbb71b00cc4a2a6129c /lib | |
parent | a0642a51c15060e2394ba60115a46622dcac8663 (diff) |
add notifications
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 |