Code Duplication    Length = 7-7 lines in 3 locations

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

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

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

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

src/Plugin/Import/Import.php 1 location

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