Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit authored and github-actions[bot] committed Dec 5, 2024
1 parent 4d864d9 commit c7a6ede
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/Enums/StatusEnum.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
class StatusEnum extends Enum
{
public const PUBLISHED = 'published';

public const DRAFT = 'draft';

public const PENDING = 'pending';
}
2 changes: 1 addition & 1 deletion src/Http/Controllers/PostController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class PostController extends BasePostController
*
* @param Request $request
*
* @return \Botble\Base\Http\Responses\BaseHttpResponse|\Illuminate\Http\JsonResponse|RedirectResponse|JsonResource
* @return \Botble\Base\Http\Responses\BaseHttpResponse|\Illuminate\Http\JsonResponse|JsonResource|RedirectResponse
*/
public function index(Request $request)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Resources/ListPostResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace CSlant\Blog\Api\Http\Resources;

use Botble\Blog\Http\Resources\ListPostResource as BaseListPostResource;
use Botble\Blog\Http\Resources\TagResource;
use Botble\Blog\Models\Post;
use Botble\Media\Facades\RvMedia;
use Botble\Blog\Http\Resources\ListPostResource as BaseListPostResource;

/**
* @mixin Post
Expand Down

0 comments on commit c7a6ede

Please sign in to comment.