Skip to content

Commit

Permalink
fix: add docblock to fix analyse for blog api repo v2
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed Jan 8, 2025
1 parent 60fe718 commit e1bbb6a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Http/Responses/Base/BaseHttpResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
* @method self withNextUrl(string $url)
* @method self setError(bool $error = true)
* @method self setCode(int $code)
* @method self setSaveAction(string $action)
* @method self setMessage(?string $message, bool $cleanHtmlTags = true)
*
* @method JsonResource|JsonResponse|RedirectResponse|self toApiResponse()
*/
Expand Down
4 changes: 4 additions & 0 deletions src/Models/Post.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
*
* @method static Builder|Post query()
* @method static Builder|Post with($relations)
* @method static Builder|Post whereId($value)
* @method static Builder|Post find($id)
* @method static Builder|Post first()
* @method static Builder|Post whereIn($column, $values)
* @method static Builder|Post where($column, $operator = null, $value = null, $boolean = 'and')
* @method static Post findOrFail($id)
* @method static Post create($data)
Expand Down

0 comments on commit e1bbb6a

Please sign in to comment.