Code Duplication    Length = 13-15 lines in 2 locations

src/eXpansion/Framework/Core/Helpers/ChatNotification.php 1 location

@@ 48-60 (lines=13) @@
45
     * @param Console $console
46
     * @param LoggerInterface $logger
47
     */
48
    public function __construct(
49
        Factory $connectionFactory,
50
        Translations $translations,
51
        PlayerStorage $playerStorage,
52
        Console $console,
53
        LoggerInterface $logger
54
    ) {
55
        $this->factory = $connectionFactory;
56
        $this->translations = $translations;
57
        $this->playerStorage = $playerStorage;
58
        $this->console = $console;
59
        $this->logger = $logger;
60
    }
61
62
    /**
63
     * Send message.

src/eXpansion/Framework/Core/Plugins/GuiHandler.php 1 location

@@ 75-89 (lines=15) @@
72
     * @param ActionFactory $actionFactory
73
     * @param int $charLimit
74
     */
75
    public function __construct(
76
        Factory $factory,
77
        LoggerInterface $logger,
78
        Console $console,
79
        ActionFactory $actionFactory,
80
        $charLimit = 262144
81
    ) {
82
        $this->factory = $factory;
83
        $this->logger = $logger;
84
        $this->console = $console;
85
        $this->actionFactory = $actionFactory;
86
        $this->charLimit = $charLimit;
87
    }
88
89
    /**
90
     * @inheritdoc
91
     */
92
    public function setStatus($status)