Skip to content

Commit b4add97

Browse files
Amoifrclaude
andcommitted
Fix phpstan error: call parent constructor in BeforeFormValidateEvent
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 0177ea9 commit b4add97

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Event/BeforeFormValidateEvent.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ final class BeforeFormValidateEvent extends AbstractLifecycleEvent
2323
* @param TEntity $entityInstance
2424
*/
2525
public function __construct(
26-
protected object $entityInstance,
26+
object $entityInstance,
2727
private readonly FormInterface $form,
2828
) {
29+
parent::__construct($entityInstance);
2930
}
3031

3132
public function getForm(): FormInterface

0 commit comments

Comments
 (0)