Code Duplication    Length = 7-7 lines in 3 locations

src/Plugin/Fill/Filler/Filler.php 1 location

@@ 35-41 (lines=7) @@
32
     *
33
     * @return ItemInterface
34
     */
35
    public function buildMenu(ItemInterface $item)
36
    {
37
        return $item->addChild($this->getTitle(), [
38
            'route' => 'fill_filler',
39
            'routeParameters' => ['plugin' => $this->getName()],
40
        ]);
41
    }
42
43
    /**
44
     * @return Filler

src/Plugin/Fill/Search/Search.php 1 location

@@ 43-49 (lines=7) @@
40
     *
41
     * @return ItemInterface
42
     */
43
    public function buildMenu(ItemInterface $item)
44
    {
45
        return $item->addChild($this->getTitle(), [
46
            'route' => 'fill_search',
47
            'routeParameters' => ['plugin' => $this->getName()],
48
        ]);
49
    }
50
51
    /**
52
     * @param Router $router

src/Plugin/Import/Import.php 1 location

@@ 26-32 (lines=7) @@
23
     *
24
     * @return ItemInterface
25
     */
26
    public function buildMenu(ItemInterface $item)
27
    {
28
        return $item->addChild($this->getTitle(), [
29
            'route' => 'item_import',
30
            'routeParameters' => ['plugin' => $this->getName()],
31
        ]);
32
    }
33
}
34