Skip to content

Commit

Permalink
docs: replace type API\ResponseTrait
Browse files Browse the repository at this point in the history
  • Loading branch information
ddevsr committed Oct 2, 2022
1 parent 86d0f3d commit 2b3b5e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions system/API/ResponseTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand All @@ -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
*/
Expand All @@ -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
*/
Expand Down

0 comments on commit 2b3b5e5

Please sign in to comment.