Skip to content

Commit 4d72b25

Browse files
committed
psalm fix
1 parent 17eee28 commit 4d72b25

4 files changed

Lines changed: 8 additions & 0 deletions

File tree

src/Admin/src/Form/AccountForm.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@
66

77
use Frontend\Admin\InputFilter\AccountInputFilter;
88
use Laminas\Form\Form;
9+
use Laminas\Form\FormInterface;
910
use Laminas\InputFilter\InputFilterInterface;
1011

12+
/** @template-extends Form<FormInterface> */
1113
class AccountForm extends Form
1214
{
1315
protected InputFilterInterface $inputFilter;

src/Admin/src/Form/AdminForm.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@
77
use Frontend\Admin\Entity\Admin;
88
use Frontend\Admin\InputFilter\AdminInputFilter;
99
use Laminas\Form\Form;
10+
use Laminas\Form\FormInterface;
1011
use Laminas\InputFilter\InputFilter;
1112
use Laminas\InputFilter\InputFilterInterface;
1213

14+
/** @template-extends Form<FormInterface> */
1315
class AdminForm extends Form
1416
{
1517
protected InputFilterInterface $inputFilter;

src/Admin/src/Form/ChangePasswordForm.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@
66

77
use Frontend\Admin\InputFilter\ChangePasswordInputFilter;
88
use Laminas\Form\Form;
9+
use Laminas\Form\FormInterface;
910
use Laminas\InputFilter\InputFilterInterface;
1011

12+
/** @template-extends Form<FormInterface> */
1113
class ChangePasswordForm extends Form
1214
{
1315
protected InputFilterInterface $inputFilter;

src/Admin/src/Form/LoginForm.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@
99
use Laminas\Form\Element\Submit;
1010
use Laminas\Form\Element\Text;
1111
use Laminas\Form\Form;
12+
use Laminas\Form\FormInterface;
1213
use Laminas\InputFilter\InputFilterInterface;
1314

15+
/** @template-extends Form<FormInterface> */
1416
class LoginForm extends Form
1517
{
1618
protected InputFilterInterface $inputFilter;

0 commit comments

Comments
 (0)