Merge pull request #44 from slimus/master

Fix phpDoc and ask for user if it does not specified.
This commit is contained in:
Anton 2014-08-06 18:49:18 +04:00
commit b4c47200f1
2 changed files with 5 additions and 2 deletions

View File

@ -250,6 +250,9 @@ class Configuration
*/
public function getUser()
{
if(null === $this->user) {
$this->user = ask("User:", trim(runLocally('whoami')));
}
return $this->user;
}

View File

@ -101,7 +101,7 @@ function run($command, $raw = false)
}
/**
* Execute commands og local machine.
* Execute commands on local machine.
* @param string $command Command to run locally.
* @return string Output of command.
*/
@ -317,4 +317,4 @@ function env()
function config()
{
return env()->getConfig();
}
}