make static-analyse code

This commit is contained in:
2024-01-15 01:05:10 +03:00
parent 57244b63be
commit bc2c8df9af
35 changed files with 221 additions and 182 deletions

View File

@@ -3,22 +3,23 @@
namespace App\Livewire;
use Livewire\Component;
use Illuminate\View\View;
class Counter extends Component
{
public $count = 0;
public int $count = 0;
public function inc()
public function inc(): void
{
$this->count++;
}
public function dec()
public function dec(): void
{
$this->count--;
}
public function render()
public function render(): View
{
return view('livewire.counter');
}