Solid, Solid Principles, PHP, Software Development, Software Engineering.
Method parameters types Subclass method parameter types must match or be more abstract than parent class method parameter types. LSP — Method parameters type Method return type The return type in a method of a subclass must match or be a subtype of the return type of the parent class method. As you