Skip to content

Add ReturnTypeWillChange

Compare
Choose a tag to compare
@barryvdh barryvdh released this 19 Oct 12:34
· 157 commits to master since this release
e8ac349
Add #[ReturnTypeWillChange] attribute to suppress deprecation warning…

…… (#481)

* Add #[ReturnTypeWillChange] attribute to suppress deprecation warnings and fatal error

Error occurs on php 7.4 >=

* Same in other 4 methods #[\ReturnTypeWillChange]

Add #[\ReturnTypeWillChange] in other 4 methods to avoid E_DEPRECATED or E_FATAL (php 7.4 >=)