Code Duplication    Length = 7-7 lines in 2 locations

src/Kunstmaan/AdminListBundle/AdminList/BulkAction/SimpleBulkAction.php 1 location

@@ 37-43 (lines=7) @@
34
     * @param string $icon     The icon
35
     * @param string $template The template
36
     */
37
    public function __construct(array $url, $label, $icon = null, $template = null)
38
    {
39
        $this->url = $url;
40
        $this->icon = $icon;
41
        $this->label = $label;
42
        $this->template = $template;
43
    }
44
45
    /**
46
     * @return array

src/Kunstmaan/AdminListBundle/AdminList/ListAction/SimpleListAction.php 1 location

@@ 37-43 (lines=7) @@
34
     * @param string $icon     The icon
35
     * @param string $template The template
36
     */
37
    public function __construct(array $url, $label, $icon = null, $template = null)
38
    {
39
        $this->url = $url;
40
        $this->icon = $icon;
41
        $this->label = $label;
42
        $this->template = $template;
43
    }
44
45
    /**
46
     * @return array