Fix argument order for implode method

Different order is deprecated and will cause fatal error in PHP8
This commit is contained in:
Jakub Onderka 2020-04-27 16:08:52 +02:00 committed by GitHub
parent 785734e052
commit fc3b50c523
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]; $styleInfo[] = static::$_options[$option];
} }
} }
return "\033[" . implode($styleInfo, ';') . 'm' . $matches['text'] . "\033[0m"; return "\033[" . implode(';', $styleInfo) . 'm' . $matches['text'] . "\033[0m";
} }
/** /**