Code Duplication    Length = 9-9 lines in 2 locations

src/Column/Action.php 1 location

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

src/Column/ActionCallback.php 1 location

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