add return type

This commit is contained in:
spencerrlongg 2023-11-16 11:42:37 -06:00
parent 17bf8d0124
commit af3417d6cc

View file

@ -14,7 +14,8 @@ class PersonalAccessTokens extends Component
protected $listeners = ['openModal' => 'autoFocusModalEvent'];
public function autoFocusModalEvent()
//this is just an annoying thing to make the modal input autofocus
public function autoFocusModalEvent(): void
{
$this->dispatchBrowserEvent('autoFocusModal');
}