direct_mail
direct_mail copied to clipboard
PHP 8.1 incompatible syntax in RecipientListController
In RecipientListController.php
:
protected array $allowedTables = [DmailRecipientEnum::TtAddress->value, DmailRecipientEnum::FeUsers->value],
This line works since PHP 8.2
Here is a minimal example, that shows that this kind of access doesn't work in PHP 8.1: https://onlinephp.io/c/a548f
Since 8.1 is a supported version of TYPO3 v12, I suggest to revert to just using the strings at that place.