Skip to content

[DX] [Console] InputInterface::hasOption is confusingly named #17597

@mcfedr

Description

@mcfedr

Now you probably just want to close this, because in many ways there isn't much that can be done at this stage.

But I find the hasOption method to be misleading, people often use it to check if the option has been passed on the command line, not realising that it actually checks if such an option exists.

I would like to suggest a better name, and another method that actually does what you think this one will do. But given that it would be a breaking change...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy