Skip to content

Commit

Permalink
Fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Oct 19, 2017
1 parent 79b4d0a commit 145b76d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/DataSet/AbstractTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,16 +169,16 @@ public function __toString()

// if count less than 0 (when table is empty), then set count to 1
$count = $count >= 1 ? $count : 1;
$lineSeperator = \str_repeat('+----------------------', $count) . "+\n";
$lineLength = \strlen($lineSeperator) - 1;
$lineSeparator = \str_repeat('+----------------------', $count) . "+\n";
$lineLength = \strlen($lineSeparator) - 1;

$tableString = $lineSeperator;
$tableString = $lineSeparator;
$tblName = $this->getTableMetaData()->getTableName();
$tableString .= '| ' . \str_pad($tblName, $lineLength - 4, ' ',
STR_PAD_RIGHT) . " |\n";
$tableString .= $lineSeperator;
$tableString .= $lineSeparator;
$rows = $this->rowToString($columns);
$tableString .= !empty($rows) ? $rows . $lineSeperator : '';
$tableString .= !empty($rows) ? $rows . $lineSeparator : '';

$rowCount = $this->getRowCount();

Expand All @@ -205,7 +205,7 @@ public function __toString()
}
}

$tableString .= $this->rowToString($values) . $lineSeperator;
$tableString .= $this->rowToString($values) . $lineSeparator;
}

return ($this->other ? '(table diff enabled)' : '') . "\n" . $tableString . "\n";
Expand Down

0 comments on commit 145b76d

Please sign in to comment.