Skip to content

[Bug] Config::has() does not work properly #63

Closed
@franzliedke

Description

@franzliedke

For a non-existing config file named 'key.php', Config::has('key') returns true.

That's because Input::get('key') returns an empty array, which is different than the default value generated in the has() method.

The logic of that method could be improved to really check for the existence of such an element.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions