[MAILPOET-2688]
[MAILPOET-4357]
[MAILPOET-4053]
PHPStan reported an error in PHP8.1. When we use the annotation ReturnTypeWillChange it caused another error for PHPStan in combination in PHP7.2. The new annotations are solving those issues. [MAILPOET-4053]
[MAILPOET-3988]