8000 Review parameter type declarations · Issue #873 · WordPress/Requests · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Review parameter type declarations #873
Open
@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

      0