Skip to content

Commit

Permalink
fix ContainerCommandLoader::getNames()
Browse files Browse the repository at this point in the history
  • Loading branch information
JanTvrdik authored and Milan Felix Šulc committed Jan 25, 2018
1 parent 3f22e3b commit c7382da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CommandLoader/ContainerCommandLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function has($name)
*/
public function getNames()
{
return array_values($this->commandMap);
return array_keys($this->commandMap);
}

}

0 comments on commit c7382da

Please sign in to comment.