Skip to content

Commit

Permalink
Merge pull request #6617 from ddevsr/api-trait-docs
Browse files Browse the repository at this point in the history
docs: replace type `API\ResponseTrait`
  • Loading branch information
kenjis authored Oct 3, 2022
2 parents 1de9173 + 2b3b5e5 commit d8b5045
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 d8b5045

Please sign in to comment.