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/shop/controllers/ProductController.php 1 location

@@ 421-427 (lines=7) @@
418
        // build array for widget
419
        $url = '';
420
        $crumbs = array_reverse($crumbs, true);
421
        foreach ($crumbs as $slug => $label) {
422
            $url .= '/' . $slug;
423
            $breadcrumbs[] = [
424
                'label' => $label,
425
                'url' => $url
426
            ];
427
        }
428
        if (is_null($product) && $this->module->showFiltersInBreadcrumbs && !empty($properties)) {
429
            $route = [
430
                '@category',

application/modules/page/controllers/PageController.php 1 location

@@ 257-263 (lines=7) @@
254
        // build array for widget
255
        $url = '';
256
        $crumbs = array_reverse($crumbs, true);
257
        foreach ($crumbs as $slug => $label) {
258
            $url .= '/' . $slug;
259
            $breadcrumbs[] = [
260
                'label' => (string) $label,
261
                'url' => $url
262
            ];
263
        }
264
        unset($breadcrumbs[count($breadcrumbs) - 1]['url']); // last item is not a link
265
266
        return $breadcrumbs;