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

routes/event.php 2 locations

@@ 888-893 (lines=6) @@
885
        }
886
        $currentData[] = $folder;
887
    }
888
    if (count($currentData) > 0) {
889
        $return[] = array(
890
            'info' => array('id' => $currentCategory, 'display_name' => $currentCategoryDisplayName),
891
            'data' => $currentData
892
        );
893
    }
894
    return $return;
895
}
896
@@ 942-947 (lines=6) @@
939
        }
940
        $currentData[] = $delivery;
941
    }
942
    if (count($currentData) > 0) {
943
        $return[] = array(
944
            'info' => array('display_name' => $currentCategory),
945
            'data' => $currentData
946
        );
947
    }
948
    return $return;
949
}
950