Revert "WebCommand::serveAction(): make arguments non-positional"

This reverts commit d101e852ce.

Sorry for doing so, but we have to fix this without breaking
compatibility.
This commit is contained in:
Thomas Gelf 2015-11-20 19:45:15 +01:00
parent 6d56a57b7e
commit 3ded331bd1
1 changed files with 2 additions and 2 deletions

View File

@ -38,8 +38,8 @@ class WebCommand extends Command
}
$fork = $this->params->get('daemonize');
$documentRoot = $this->params->shift('document-root');
$socket = $this->params->shift('listen-addr');
$documentRoot = $this->params->shift();
$socket = $this->params->shift();
// TODO: Sanity check!!
if ($socket === null) {