Code Duplication    Length = 3-3 lines in 2 locations

src/Examples/test2.php 1 location

@@ 22-24 (lines=3) @@
19
	->attr('table', 'width', '100%')
20
	->column()
21
		->title('Name')
22
		->value(function ($row) {
23
			return rand(1,10)%2 ? '<b>'.$row['name'].'</b>' : $row['name'];
24
		})
25
		->filter($filterData)
26
		->css('td', 'color', 'green')
27
		->css('td', 'width', '50%')

src/Examples/test1.php 1 location

@@ 25-27 (lines=3) @@
22
    ->css('tr', 'background-color', 'red')
23
	->column()
24
		->title('Name')
25
		->value(function ($row) {
26
			return rand(1,10)%2 ? '<b>'.$row['name'].'</b>' : $row['name'];
27
		})
28
		->attr('td', 'data-text', 'bla bla bla')
29
		->css('th', 'color', 'green')
30
		->css('td', 'width', '50%')