Skip to content

Commit

Permalink
Update SanctumTokenForm.php (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
sangnguyenplus authored Dec 7, 2023
1 parent 9f730c8 commit f5a3751
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Forms/SanctumTokenForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

class SanctumTokenForm extends FormAbstract
{
public function buildForm(): FormAbstract|SanctumTokenForm
public function buildForm(): void
{
return $this
$this
->setupModel(new PersonalAccessToken())
->setValidatorClass(StoreSanctumTokenRequest::class)
->add('name', 'text', [
Expand Down

0 comments on commit f5a3751

Please sign in to comment.