* Update threshold order * * @param int $reportId * @param array $order * @return bool */
(int $reportId, $order)
| 87 | * @return bool |
| 88 | */ |
| 89 | #[NoAdminRequired] |
| 90 | public function reorder(int $reportId, $order): bool |
| 91 | { |
| 92 | if (is_string($order)) { |
| 93 | $order = json_decode($order, true); |
| 94 | } |
| 95 | $this->ThresholdService->reorder($order); |
| 96 | return true; |
| 97 | } |
| 98 | |
| 99 | /** |
| 100 | * validate threshold |
nothing calls this directly
no outgoing calls
no test coverage detected