代码规范化

This commit is contained in:
thinkphp
2016-08-09 10:35:06 +08:00
parent 8b147f6895
commit 131aaf1357
18 changed files with 60 additions and 75 deletions

View File

@@ -10,8 +10,8 @@
// +----------------------------------------------------------------------
namespace think\console\output;
use think\console\output\formatter\Style;
use think\console\output\formatter\Stack as StyleStack;
use think\console\output\formatter\Style;
class Formatter
{
@@ -51,7 +51,7 @@ class Formatter
*/
public function setDecorated($decorated)
{
$this->decorated = (bool)$decorated;
$this->decorated = (bool) $decorated;
}
/**
@@ -195,4 +195,4 @@ class Formatter
{
return $this->isDecorated() && strlen($text) > 0 ? $this->styleStack->getCurrent()->apply($text) : $text;
}
}
}