diff --git a/src/Controller/ApiAnrRisksOpController.php b/src/Controller/ApiAnrRisksOpController.php index 0f3c3a52..112a92b0 100644 --- a/src/Controller/ApiAnrRisksOpController.php +++ b/src/Controller/ApiAnrRisksOpController.php @@ -66,8 +66,8 @@ protected function parseParams(): array 'order' => $this->params()->fromQuery("order", "maxRisk"), 'order_direction' => $this->params()->fromQuery("order_direction", "desc"), 'thresholds' => $this->params()->fromQuery("thresholds"), - 'page' => $this->params()->fromQuery("page", 1), - 'limit' => $this->params()->fromQuery("limit", 50), + 'page' => (int)$this->params()->fromQuery("page", 1), + 'limit' => (int)$this->params()->fromQuery("limit", 50), ]; } }