src/mako/cli/output/helpers/Table.php
protected function buildRowSeparator(array $columnWidths, string $separator = '-'): string
	{
		$columns = count($columnWidths);

		return str_repeat($separator, array_sum($columnWidths) + (($columns * 4) - ($columns - 1))) . PHP_EOL;
	}
protected function buildRowSeparator(array $columnWidths, string $separator = '-'): string
	{
		$columns = count($columnWidths);

		return str_repeat($separator, array_sum($columnWidths) + (($columns * 4) - ($columns - 1))) . PHP_EOL;
	}
protected function buildRowSeparator ( array $ columnWidths , string $ separator = '-' ) : string { $ columns = count ( $ columnWidths ) ; return str_repeat ( $ separator , array_sum ( $ columnWidths ) + ( ( $ columns * 4 ) - ( $ columns - 1 ) ) ) . PHP_EOL ; }
Builds a row separator.

@param  array  $columnWidths Array of column widths
@param  string $separator    Separator character
@return string
Builds a row separator .