Skip to content

Commit d85cda2

Browse files
ContactForm::isValidEvent: Add parameter and return type
Add parameter and return type for compatibility with ipl-html and ipl-stdlib
1 parent 9b12011 commit d85cda2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library/Notifications/Web/Form/ContactForm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ private function hasBeenRemoved(): bool
6767
return $csrf !== null && $csrf->isValid() && $btn !== null && $btn->getName() === 'delete';
6868
}
6969

70-
public function isValidEvent($event): bool
70+
public function isValidEvent(string $event): bool
7171
{
7272
if ($event === self::ON_REMOVE) {
7373
return true;

0 commit comments

Comments
 (0)