Skip to content

Commit

Permalink
Remove code that does not do anything (array_map() does not work by r…
Browse files Browse the repository at this point in the history
…eference)
  • Loading branch information
sebastianbergmann committed Feb 5, 2017
1 parent c1d62c1 commit ee54bd6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Util/Getopt.php
Expand Up @@ -33,7 +33,6 @@ public static function getopt(array $args, $short_options, $long_options = null)
}

reset($args);
array_map('trim', $args);

while (list($i, $arg) = each($args)) {
if ($arg == '') {
Expand Down

0 comments on commit ee54bd6

Please sign in to comment.