murze.be: Using the `self` return type got better in PHP 7.4
Thanks to the improved type variance in PHP 7.4, the self
return type hint is now safe to use in a class that you expect to be overridden (happens a lot in the packages we create)Demo: https://t.co/7vRTaOwRhDRFC: https://t.co/1RpnFIjlKC#php pic.twitter.com/SfAaxRDt4m— Freek Van der Herten (@f...
Comments are closed.