Code Duplication    Length = 13-13 lines in 3 locations

src/Plugins/onMessage/cleverbot.php 1 location

@@ 71-83 (lines=13) @@
68
     * @param $serverConfig
69
     * @param $users
70
     */
71
    public function __construct($message, $discord, $log, $config, $db, $curl, $settings, $permissions, $serverConfig, $users)
72
    {
73
        $this->message = $message;
74
        $this->discord = $discord;
75
        $this->log = $log;
76
        $this->config = $config;
77
        $this->db = $db;
78
        $this->curl = $curl;
79
        $this->settings = $settings;
80
        $this->permissions = $permissions;
81
        $this->serverConfig = $serverConfig;
82
        $this->users = $users;
83
    }
84
85
    /**
86
     *

src/Plugins/onTimer/kills.php 1 location

@@ 59-71 (lines=13) @@
56
     */
57
    protected $extras;
58
59
    public function __construct($discord, $log, $config, $db, $curl, $settings, $permissions, $serverConfig, $users, $extras)
60
    {
61
        $this->discord = $discord;
62
        $this->log = $log;
63
        $this->config = $config;
64
        $this->db = $db;
65
        $this->curl = $curl;
66
        $this->settings = $settings;
67
        $this->permissions = $permissions;
68
        $this->serverConfig = $serverConfig;
69
        $this->users = $users;
70
        $this->extras = $extras;
71
    }
72
73
    public function run()
74
    {

src/Plugins/onTimer/memory.php 1 location

@@ 58-70 (lines=13) @@
55
     */
56
    protected $extras;
57
58
    public function __construct($discord, $log, $config, $db, $curl, $settings, $permissions, $serverConfig, $users, $extras)
59
    {
60
        $this->discord = $discord;
61
        $this->log = $log;
62
        $this->config = $config;
63
        $this->db = $db;
64
        $this->curl = $curl;
65
        $this->settings = $settings;
66
        $this->permissions = $permissions;
67
        $this->serverConfig = $serverConfig;
68
        $this->users = $users;
69
        $this->extras = $extras;
70
    }
71
72
    public function run()
73
    {