Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/undo-ransomware/ransomware_detection.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias <ilovemilk@wusa.io>2020-09-20 14:14:12 +0300
committerMatthias <ilovemilk@wusa.io>2020-09-20 14:14:12 +0300
commitbee8d9351abd3a75a56ce45e98a51511e874ab83 (patch)
tree9be6a181721d08bd5ed6b2f0b55e952c8a45a498 /lib/Service
parent95575d7688e50dfaddc34f9353f87556d61b82e4 (diff)
fix recovery and history
Diffstat (limited to 'lib/Service')
-rw-r--r--lib/Service/DetectionService.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Service/DetectionService.php b/lib/Service/DetectionService.php
index 125761b..1675f8a 100644
--- a/lib/Service/DetectionService.php
+++ b/lib/Service/DetectionService.php
@@ -100,7 +100,9 @@ class DetectionService {
}
}
}
-
+ usort($detectionObjects, function ($a, $b) {
+ return $b->getId() - $a->getId();
+ });
return $detectionObjects;
}