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

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