Skip to content

Commit bc28236

Browse files
committed
Cast to string
1 parent ab44ee3 commit bc28236

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cli/table/Ascii.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ public function row( array $row ) {
198198
}
199199

200200
private function padColumn($content, $column) {
201-
$content = str_replace( "\t", ' ', $content );
201+
$content = str_replace( "\t", ' ', (string) $content );
202202
return $this->_characters['padding'] . Colors::pad( $content, $this->_widths[ $column ], $this->isPreColorized( $column ) ) . $this->_characters['padding'];
203203
}
204204

0 commit comments

Comments
 (0)