mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-12 11:40:19 +08:00
fixed assignment
This commit is contained in:
@@ -359,7 +359,7 @@ class ConsoleColor
|
||||
}
|
||||
$styleString[] = array();
|
||||
foreach($styleA as $name => $content) {
|
||||
if ($name = 'text-decoration') {
|
||||
if ($name === 'text-decoration') {
|
||||
$content = implode(' ', $content);
|
||||
}
|
||||
$styleString[] = $name.':'.$content;
|
||||
|
||||
Reference in New Issue
Block a user