diff --git a/system/API/ResponseTrait.php b/system/API/ResponseTrait.php index c168e379782d..34a65008a63d 100644 --- a/system/API/ResponseTrait.php +++ b/system/API/ResponseTrait.php @@ -97,9 +97,9 @@ trait ResponseTrait * Provides a single, simple method to return an API response, formatted * to match the requested format, with proper content-type and status code. * - * @param null $data - * @param integer $status - * @param string $message + * @param array|string|null $data + * @param integer $status + * @param string $message * * @return mixed */