Code Duplication    Length = 8-9 lines in 3 locations

Classes/Commands/ChannelCommand.php 1 location

@@ 30-37 (lines=8) @@
27
     * @param Payload        $payload
28
     * @param RealTimeClient $client
29
     */
30
    public function __construct(Payload $payload, RealTimeClient $client)
31
    {
32
        $this->commandName = 'channel';
33
        $this->helpCommands = [
34
            'help' => 'shows this help'
35
        ];
36
        parent::__construct($payload, $client);
37
    }
38
39
    /**
40
     * @return bool|string

Classes/Commands/ForgeCommand.php 1 location

@@ 29-37 (lines=9) @@
26
     * @param Payload        $payload
27
     * @param RealTimeClient $client
28
     */
29
    public function __construct(Payload $payload, RealTimeClient $client)
30
    {
31
        $this->commandName = 'forge';
32
        $this->helpCommands = [
33
            'help' => 'shows this help',
34
            'show [Issue-ID]' => 'shows the issue by given [Issue-ID]',
35
        ];
36
        parent::__construct($payload, $client);
37
    }
38
39
    /**
40
     * process show.

Classes/Commands/UtilCommand.php 1 location

@@ 29-37 (lines=9) @@
26
     * @param Payload        $payload
27
     * @param RealTimeClient $client
28
     */
29
    public function __construct(Payload $payload, RealTimeClient $client)
30
    {
31
        $this->commandName = 'util';
32
        $this->helpCommands = [
33
            'help' => 'shows this help',
34
            'coin [options]' => 'coin toss with [options] (separate by comma)',
35
        ];
36
        parent::__construct($payload, $client);
37
    }
38
39
    /**
40
     * @return string