Skip to content

Review parameter type declarations #873

@jrfnl

Description

@jrfnl

While looking at something different, we noticed a number of places where parameters did not have (non-scalar) type declarations, while they could have.

It would probably be a good idea to do a review of the complete codebase to add object-based/array type declarations wherever possible.

This would not be a breaking change as overloading methods not having a type declaration, means those are declared as mixed and mixed is contravariant with any type, so this would not lead to signature mismatch errors.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions