Skip to content

Commit

Permalink
Apply fixes from StyleCI (#87)
Browse files Browse the repository at this point in the history
Co-authored-by: StyleCI Bot <[email protected]>
  • Loading branch information
Lakshan-Madushanka and StyleCIBot authored Feb 2, 2025
1 parent df0dbe7 commit c779b63
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
9 changes: 4 additions & 5 deletions src/Livewire/CommentItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,10 @@ class CommentItem extends Component
*/
public function mount(
Comment $comment,
bool $guestMode,
Model $model,
bool $showReplyList,
): void
{
bool $guestMode,
Model $model,
bool $showReplyList,
): void {
Helpers::checkCommentableModelValidity($model);

$this->comment = $comment;
Expand Down
11 changes: 4 additions & 7 deletions src/Livewire/CommentReplyItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@
use Illuminate\Contracts\View\Factory;
use Illuminate\Contracts\View\View;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Foundation\Auth\User;
use Illuminate\Support\Facades\Gate;
use LakM\Comments\Actions\DeleteCommentReplyAction;
use LakM\Comments\Contracts\CommentableContract;
use LakM\Comments\Contracts\CommenterContract;
use LakM\Comments\Models\Comment;
use LakM\Comments\Models\Reply;
use Livewire\Attributes\Locked;
Expand Down Expand Up @@ -50,11 +48,10 @@ class CommentReplyItem extends Component
*/
public function mount(
Comment $comment,
Reply $reply,
Model $relatedModel,
bool $guestMode,
): void
{
Reply $reply,
Model $relatedModel,
bool $guestMode,
): void {
$this->comment = $comment;
$this->reply = $reply;

Expand Down

0 comments on commit c779b63

Please sign in to comment.