chore: code styling via pint

This commit is contained in:
idevakk
2025-11-14 01:51:35 -08:00
parent 3892c48ef2
commit 90ab79b3a2
121 changed files with 1003 additions and 892 deletions

View File

@@ -8,9 +8,11 @@ use Livewire\Component;
class Blog extends Component
{
public $postDetail;
public $category;
public function mount($slug) {
public function mount($slug)
{
$this->postDetail = \App\Models\Blog::where('slug', $slug)->firstOrFail();
$this->category = Category::where('id', $this->postDetail->category_id)->first();
}