Skip to content

Commit a9e31e0

Browse files
committed
Sigh. Remove the other ones.
1 parent 7a7438d commit a9e31e0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/cli/Colors.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ static public function length($string) {
194194
* @param bool $pre_colorized Optional. Set if the string is pre-colorized. Default false.
195195
* @return int
196196
*/
197-
static public function width( $string, bool $pre_colorized = false ) {
197+
static public function width( $string, $pre_colorized = false ) {
198198
return strwidth( $pre_colorized || self::shouldColorize() ? self::decolorize( $string, $pre_colorized /*keep_tokens*/ ) : $string );
199199
}
200200

@@ -206,7 +206,7 @@ static public function width( $string, bool $pre_colorized = false ) {
206206
* @param bool $pre_colorized Optional. Set if the string is pre-colorized. Default false.
207207
* @return string
208208
*/
209-
static public function pad( $string, $length, bool $pre_colorized = false ) {
209+
static public function pad( $string, $length, $pre_colorized = false ) {
210210
$real_length = self::width( $string, $pre_colorized );
211211
$diff = strlen( $string ) - $real_length;
212212
$length += $diff;

0 commit comments

Comments
 (0)