Suppress the PHP 8+ deprecation message that pops when APP_DEBUG=true
Created by: J-Ben87
This PR
-
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.