🐣L in SOLID — Liskov Substitution Principle (LSP)

Objects of a superclass should be replaceable with objects of its subclass without breaking the correctness of the program.