Skip to content

Commit

Permalink
see cl 1.21.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Defcon0 committed Apr 21, 2022
1 parent a779f7c commit 4d23161
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

All notable changes to this project will be documented in this file.

## [1.21.4] - 2022-04-21
- Fixed: type hint too strict for certain community modules like codefog/event_subscriptions

## [1.21.3] - 2022-04-21
- Fixed: don't stop sending message on invalid tokens in notification center

Expand Down
2 changes: 1 addition & 1 deletion classes/EventListener/FormGeneratorListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function onProcessFormData(array &$submittedData, array $formData, ?array
}
}

public function onSendNotificationMessage(Message $message, array &$tokens, string $language, Gateway $gatewayModel): bool
public function onSendNotificationMessage(Message $message, array &$tokens, ?string $language, ?Gateway $gatewayModel): bool
{
if (!isset($tokens['formconfig_id']) || !($tokens['formconfig_storeAsSubmission'] ?? false)) {
return true;
Expand Down

0 comments on commit 4d23161

Please sign in to comment.