MCPcopy Create free account
hub / github.com/Rello/analytics / reorder

Method reorder

lib/Controller/ThresholdController.php:89–97  ·  view source on GitHub ↗

* Update threshold order * * @param int $reportId * @param array $order * @return bool */

(int $reportId, $order)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected