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 = 9-9 lines in 2 locations

application/modules/core/helpers/ContentBlockHelper.php 2 locations

@@ 522-530 (lines=9) @@
519
            }
520
            $dependency->tags[] = $object->objectTag();
521
            switch ($params['object']) {
522
                case 'product':
523
                    $viewParams = [
524
                        'product' => $object,
525
                        'url' => Url::to(
526
                            [
527
                                '@product',
528
                                'model' => $object,
529
                                'category_group_id' => $object->getMainCategory()->category_group_id,
530
                            ]
531
                        )
532
                    ];
533
                    break;
@@ 534-542 (lines=9) @@
531
                        )
532
                    ];
533
                    break;
534
                default:
535
                    $viewParams = [
536
                        'product' => $object,
537
                        'url' => Url::to(
538
                            [
539
                                '@product',
540
                                'model' => $object,
541
                                'category_group_id' => $object->getMainCategory()->category_group_id,
542
                            ]
543
                        )
544
                    ];
545
                    break;