mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
add return type
This commit is contained in:
parent
17bf8d0124
commit
af3417d6cc
|
@ -14,7 +14,8 @@ class PersonalAccessTokens extends Component
|
||||||
|
|
||||||
protected $listeners = ['openModal' => 'autoFocusModalEvent'];
|
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');
|
$this->dispatchBrowserEvent('autoFocusModal');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue