[x] Suppress the PHP 8+ deprecation message that pops when APP_DEBUG=true
For PHP <8 projects, the attribute #[\ReturnTypeWillChange] will be ignored as it starts with a #.
Adding this attribute allows using the bundle with PHP 8+ (without that annoying deprecation message) without breaking the compatibility with lower PHP versions.
This PR
For PHP <8 projects, the attribute
#[\ReturnTypeWillChange]
will be ignored as it starts with a#
.Adding this attribute allows using the bundle with PHP 8+ (without that annoying deprecation message) without breaking the compatibility with lower PHP versions.