Merge pull request #14507 from JakubOnderka/patch-1

2.x: Fix argument order for implode method
This commit is contained in:
ADmad 2020-04-27 22:07:23 +05:30 committed by GitHub
commit 1ceb2107b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -265,7 +265,7 @@ class ConsoleOutput {
$styleInfo[] = static::$_options[$option];
}
}
return "\033[" . implode($styleInfo, ';') . 'm' . $matches['text'] . "\033[0m";
return "\033[" . implode(';', $styleInfo) . 'm' . $matches['text'] . "\033[0m";
}
/**