Skip to content
New issue

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

Ensured can handle empty console arg array correctly #413

Merged
merged 6 commits into from
Oct 5, 2017

Conversation

Cawllec
Copy link
Contributor

@Cawllec Cawllec commented Oct 5, 2017

Fixes issue reported here #411

  • Ensures defaults in place if an empty array is provided to as console commands.

@@ -60,6 +60,11 @@ public function getCookies()
*/
public function getMetaData()
{
if (count($this->command) == 0) {
return ['console' => [
'Command' => 'Command could not be retreived', ],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

retrieved

@Cawllec Cawllec merged commit f34e9c9 into master Oct 5, 2017
@kattrali kattrali deleted the empty-console-fix branch October 5, 2017 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants