GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 7-7 lines in 2 locations

application/modules/data/components/Import.php 2 locations

@@ 296-302 (lines=7) @@
293
294
        $result['fields_object'] = $data_header = array_merge($fields_object, ['internal_id']);
295
296
        $result['fields_property'] = array_filter($fields_property, function($input) use (&$data_header) {
297
            if (1 == $input['enabled']) {
298
                $data_header[] = $input['key'];
299
                return true;
300
            }
301
            return false;
302
        });
303
304
        $result['fields_additional'] = array_filter($fields_additional, function($input) use (&$data_header) {
305
            if (1 == $input['enabled']) {
@@ 304-310 (lines=7) @@
301
            return false;
302
        });
303
304
        $result['fields_additional'] = array_filter($fields_additional, function($input) use (&$data_header) {
305
            if (1 == $input['enabled']) {
306
                $data_header[] = $input['key'];
307
                return true;
308
            }
309
            return false;
310
        });
311
312
        $result['fields_header'] = $data_header;
313