Skip to content

Commit

Permalink
fix: add docblock to fix analyse for blog api repo
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed Jan 8, 2025
1 parent 596e7aa commit 60fe718
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Http/Responses/Base/BaseHttpResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@
* @package CSlant\Blog\Core\Http\Responses\Base
*
* @method self setData(mixed $data)
* @method self with(array $with)
* @method static self make()
* @method self withInput()
* @method self withError()
* @method self withMessage(string $message)
* @method self withPreviousUrl(string $url)
* @method self withNextUrl(string $url)
* @method self setError(bool $error = true)
* @method self setCode(int $code)
*
* @method JsonResource|JsonResponse|RedirectResponse|self toApiResponse()
*/
class BaseHttpResponse extends BotbleBaseHttpResponse
Expand Down
4 changes: 4 additions & 0 deletions src/Models/Post.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
* @property string $author
*
* @method static Builder|Post query()
* @method static Builder|Post with($relations)
* @method static Builder|Post where($column, $operator = null, $value = null, $boolean = 'and')
* @method static Post findOrFail($id)
* @method static Post create($data)
*
* @mixin BasePost
*/
Expand Down

0 comments on commit 60fe718

Please sign in to comment.