We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For a non-existing config file named 'key.php', Config::has('key') returns true.
Config::has('key')
That's because Input::get('key') returns an empty array, which is different than the default value generated in the has() method.
Input::get('key')
has()
The logic of that method could be improved to really check for the existence of such an element.
The text was updated successfully, but these errors were encountered:
Added Config::hasGroup to address this.
Config::hasGroup
Sorry, something went wrong.
Merge pull request laravel#63 from laravel-zero/analysis-XaEMyW
ce3262b
Apply fixes from StyleCI
No branches or pull requests
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 thehas()
method.The logic of that method could be improved to really check for the existence of such an element.
The text was updated successfully, but these errors were encountered: