diff --git a/system/API/ResponseTrait.php b/system/API/ResponseTrait.php index 6ae0e3a361bd..93dd976eaefb 100644 --- a/system/API/ResponseTrait.php +++ b/system/API/ResponseTrait.php @@ -143,7 +143,7 @@ protected function fail($messages, int $status = 400, ?string $code = null, stri /** * Used after successfully creating a new resource. * - * @param mixed $data + * @param array|string|null $data * * @return Response */ @@ -155,7 +155,7 @@ protected function respondCreated($data = null, string $message = '') /** * Used after a resource has been successfully deleted. * - * @param mixed $data + * @param array|string|null $data * * @return Response */ @@ -167,7 +167,7 @@ protected function respondDeleted($data = null, string $message = '') /** * Used after a resource has been successfully updated. * - * @param mixed $data + * @param array|string|null $data * * @return Response */