diff --git a/phpdox b/phpdox index 6b910810..75cb42f6 100755 --- a/phpdox +++ b/phpdox @@ -59,6 +59,7 @@ if (!$found) { die(1); } -(new TheSeer\phpDox\Factory())->getCLI()->run( +$factory = new TheSeer\phpDox\Factory(); +$factory->getCLI()->run( new TheSeer\phpDox\CLIOptions($_SERVER['argv']) );