make static analyz for blogPost

This commit is contained in:
2024-01-10 14:42:34 +03:00
parent 93ca684f67
commit fb3670a549
14 changed files with 120 additions and 69 deletions

View File

@@ -4,14 +4,18 @@ namespace App\Livewire\BlogPost\Comment;
use App\Models\BlogPost;
use Livewire\Component;
use Illuminate\View\View;
class Show extends Component
{
public BlogPost $blogPost;
protected $listeners = ['commentAdded' => '$refresh'];
protected function getListeners(): array
{
return ['commentAdded' => '$refresh'];
}
public function render()
public function render(): View
{
return view('livewire.blog-post.comment.show');
}