Code Duplication    Length = 8-8 lines in 2 locations

src/Table/Render/SimpleTable.php 2 locations

@@ 78-85 (lines=8) @@
75
	 *
76
	 * @return string
77
	 */
78
	protected function cell(Cell $cell)
79
	{
80
		$html = '<td';
81
		$this->addAttributes($html, $cell->getAttributes());
82
		$html .= '>' . $cell->getContent() . '</td>';
83
84
		return $html;
85
	}
86
87
	/**
88
	 * Helper function to convert an array into a list of attributes and append
@@ 114-121 (lines=8) @@
111
		return $this->row($row, $cells);
112
	}
113
114
	protected function headerCell(Table\Cell $cell)
115
	{
116
		$html = '<th';
117
		$this->addAttributes($html, $cell->getAttributes());
118
		$html .= '>' . $cell->getContent() . '</th>';
119
120
		return $html;
121
	}
122
123
	protected function headerRow(Table\Row $row, array $cells)
124
	{