Code Duplication    Length = 7-7 lines in 2 locations

src/Column/Action.php 1 location

@@ 97-103 (lines=7) @@
94
	 * @param string   $name
95
	 * @param array    $params
96
	 */
97
	public function __construct(DataGrid $grid, $href, $name, $params)
98
	{
99
		$this->grid = $grid;
100
		$this->href = $href;
101
		$this->name = $name;
102
		$this->params = $params;
103
	}
104
105
106
	/**

src/Toolbar/ToolbarButton.php 1 location

@@ 53-59 (lines=7) @@
50
	 * @param string   $text
51
	 * @param array    $params
52
	 */
53
	public function __construct(DataGrid $grid, $href, $text, $params = [])
54
	{
55
		$this->grid = $grid;
56
		$this->href = $href;
57
		$this->text = $text;
58
		$this->params = $params;
59
	}
60
61
62
	/**