Code Duplication    Length = 9-9 lines in 2 locations

src/Column/Action.php 1 location

@@ 71-79 (lines=9) @@
68
	 * @param string   $name
69
	 * @param array    $params
70
	 */
71
	public function __construct(DataGrid $grid, $href, $name, $params)
72
	{
73
		$this->grid = $grid;
74
		$this->href = $href;
75
		$this->name = $name;
76
		$this->params = $params;
77
78
		$this->class = 'btn btn-xs btn-default';
79
	}
80
81
82
	/**

src/Column/ActionCallback.php 1 location

@@ 35-43 (lines=9) @@
32
	 * @param string   $name
33
	 * @param array    $params
34
	 */
35
	public function __construct(DataGrid $grid, $key, $name, $params)
36
	{
37
		$this->grid = $grid;
38
		$this->key = $key;
39
		$this->name = $name;
40
		$this->params = $params;
41
42
		$this->class = 'btn btn-xs btn-default';
43
	}
44
45
46
	/**