Skip to content

Commit

Permalink
Streamline.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jan 25, 2009
1 parent eec4d42 commit 3c9b123
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions PHPLOC/TextUI/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,12 @@ public static function main()
}
}

if (isset($files)) {
self::countFiles($files);
} else {
if (!isset($files)) {
self::showHelp();
exit(1);
}

self::countFiles($files);
}

protected static function countFiles($files)
Expand Down

0 comments on commit 3c9b123

Please sign in to comment.