Skip to content

Commit

Permalink
feat: add new base responses
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed Dec 8, 2024
1 parent a946478 commit c24ac37
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
parameters:
excludePaths:
- src/Http/Controllers/Base/*.php
- src/Http/Responses/Base/*.php
- src/Models/Base/*.php
2 changes: 2 additions & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ parameters:
tmpDir: build/phpstan
checkOctaneCompatibility: true
checkModelProperties: true
parallel:
maximumNumberOfProcesses: 4
16 changes: 16 additions & 0 deletions src/Http/Responses/Base/BaseHttpResponse.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php

namespace CSlant\Blog\Core\Http\Responses\Base;

use Botble\Base\Http\Responses\BaseHttpResponse as BotbleBaseHttpResponse;

/**
* Class BaseHttpResponse
*
* @package CSlant\Blog\Core\Http\Responses\Base
*
* @method BaseHttpResponse setData(mixed $data) Set data to response from BaseHttpResponse class in Botble
*/
class BaseHttpResponse extends BotbleBaseHttpResponse
{
}

0 comments on commit c24ac37

Please sign in to comment.