Code Duplication    Length = 3-3 lines in 2 locations

application/modules/mod_stats/controllers/UsersController.php 2 locations

@@ 125-127 (lines=3) @@
122
                           'values' => ZeroFiller::fill($registered, 'x', 'y', $this->params['interval']),
123
                          ];
124
        }
125
        if ($unregistered) {
126
            [
127
             'key'    => lang('Count of unique unregistered users', 'mod_stats'),
128
             'values' => ZeroFiller::fill($unregistered, 'x', 'y', $this->params['interval']),
129
            ];
130
        }
@@ 119-121 (lines=3) @@
116
        $this->controller->import('classes/ZeroFiller');
117
118
        $response = [];
119
        if ($registered) {
120
            $response[] = [
121
                           'key'    => lang('Count of unique registered users', 'mod_stats'),
122
                           'values' => ZeroFiller::fill($registered, 'x', 'y', $this->params['interval']),
123
                          ];
124
        }