Skip to content

Commit

Permalink
feat: add some method in docblock for responses
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed Dec 8, 2024
1 parent e294454 commit fd16bdf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Http/Responses/Base/BaseHttpResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,17 @@
namespace CSlant\Blog\Core\Http\Responses\Base;

use Botble\Base\Http\Responses\BaseHttpResponse as BotbleBaseHttpResponse;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Resources\Json\JsonResource;

/**
* Class BaseHttpResponse
*
* @package CSlant\Blog\Core\Http\Responses\Base
*
* @method self setData(mixed $data)
* @method self|JsonResponse|JsonResource|RedirectResponse toApiResponse()
*/
class BaseHttpResponse extends BotbleBaseHttpResponse
{
Expand Down

0 comments on commit fd16bdf

Please sign in to comment.