Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed phpcs errors.
  • Loading branch information
shin1x1 committed Jul 14, 2012
1 parent dd524c9 commit 32d5f11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/Console/Command/ServerShell.php
Expand Up @@ -91,7 +91,7 @@ public function startup() {
$this->_documentRoot = substr($this->_documentRoot, 0, strlen($this->_documentRoot) - 1);
}
if (preg_match("/^([a-z]:)[\\\]+(.+)$/i", $this->_documentRoot, $m)) {
$this->_documentRoot = $m[1].'\\'.$m[2];
$this->_documentRoot = $m[1] . '\\' . $m[2];
}

parent::startup();
Expand Down Expand Up @@ -129,7 +129,7 @@ public function main() {
$this->_documentRoot
);

$port = ($this->_port == self::DEFAULT_PORT) ? '' : ':'.$this->_port;
$port = ($this->_port == self::DEFAULT_PORT) ? '' : ':' . $this->_port;
$this->out(__d('cake_console', 'built-in server is running in http://%s%s/', $this->_host, $port));
$ret = system($command);
}
Expand Down

0 comments on commit 32d5f11

Please sign in to comment.