Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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