From 2b3b5e5786accc12a68d63297e5476d111daafcd Mon Sep 17 00:00:00 2001 From: Denny Septian Panggabean Date: Sun, 2 Oct 2022 12:28:18 +0700 Subject: [PATCH] docs: replace type API\ResponseTrait --- system/API/ResponseTrait.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 */