Skip to content

Liskov: Parameter types matching or more abstract #7

@ResponsiblyUnranked

Description

@ResponsiblyUnranked

Parameter types should match or be more abstract than parameter types in the superclass method:

  • You shouldn’t make the parameter type more specific, or narrow it down further, it should be equal or more generic

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

Status

✅ Done

Relationships

None yet

Development

No branches or pull requests

Issue actions