forked from eatvio/eatvio-infra
make code style phpinsight
This commit is contained in:
@@ -4,12 +4,12 @@ namespace App\Livewire\BlogPost;
|
||||
|
||||
use App\Models\BlogPost;
|
||||
use App\Models\Tag;
|
||||
use Illuminate\Database\Eloquent\Collection;
|
||||
use Illuminate\Http\UploadedFile;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
use Illuminate\View\View;
|
||||
use Livewire\Component;
|
||||
use Livewire\WithFileUploads;
|
||||
use Illuminate\Http\UploadedFile;
|
||||
use Illuminate\View\View;
|
||||
use Illuminate\Database\Eloquent\Collection;
|
||||
|
||||
class Edit extends Component
|
||||
{
|
||||
@@ -29,11 +29,6 @@ class Edit extends Component
|
||||
|
||||
public string $videoUrl = '';
|
||||
|
||||
protected function getListeners(): array
|
||||
{
|
||||
return ['blogPostTagAdded', 'blogPostTagRemoved'];
|
||||
}
|
||||
|
||||
public function mount(BlogPost $blogPost): void
|
||||
{
|
||||
// $this->name = $blogPost->name;
|
||||
@@ -102,6 +97,11 @@ class Edit extends Component
|
||||
return view('livewire.blog-post.edit');
|
||||
}
|
||||
|
||||
protected function getListeners(): array
|
||||
{
|
||||
return ['blogPostTagAdded', 'blogPostTagRemoved'];
|
||||
}
|
||||
|
||||
protected function rules(): array
|
||||
{
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user