Code Duplication    Length = 13-13 lines in 2 locations

src/eXpansion/Bundle/WidgetBestCheckpoints/Plugins/BestCheckpoints.php 1 location

@@ 52-64 (lines=13) @@
49
     * @param Group $players
50
     * @param Group $allPlayers
51
     */
52
    public function __construct(
53
        PlayerStorage $playerStorage,
54
        BestCheckPointsWidgetFactory $widget,
55
        UpdaterWidgetFactory $updater,
56
        Group $players,
57
        Group $allPlayers
58
    ) {
59
        $this->playerStorage = $playerStorage;
60
        $this->widget = $widget;
61
        $this->players = $players;
62
        $this->updater = $updater;
63
        $this->allPlayers = $allPlayers;
64
    }
65
66
    /**
67
     * Set the status of the plugin

src_experimantal/eXpansionExperimantal/Bundle/WidgetBestRecords/Plugins/BestRecords.php 1 location

@@ 53-65 (lines=13) @@
50
     * @param Group                    $players
51
     * @param Group                    $allPlayers
52
     */
53
    public function __construct(
54
        Factory $factory,
55
        PlayerStorage $playerStorage,
56
        BestRecordsWidgetFactory $widget,
57
        Group $players,
58
        Group $allPlayers
59
    ) {
60
        $this->factory = $factory;
61
        $this->playerStorage = $playerStorage;
62
        $this->widget = $widget;
63
        $this->players = $players;
64
        $this->allPlayers = $allPlayers;
65
    }
66
67
    /**
68
     * Set the status of the plugin