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

src/Cursor.php 2 locations

@@ 1034-1038 (lines=5) @@
1031
        $hash[] = json_encode($this->expression->toArray());
1032
1033
        // sorts
1034
        if (!empty($this->sort)) {
1035
            $sort = $this->sort;
1036
            ksort($sort);
1037
            $hash[] = implode('', array_merge(array_keys($sort), array_values($sort)));
1038
        }
1039
1040
        // fields
1041
        if (!empty($this->fields)) {
@@ 1041-1045 (lines=5) @@
1038
        }
1039
1040
        // fields
1041
        if (!empty($this->fields)) {
1042
            $fields = $this->fields;
1043
            ksort($fields);
1044
            $hash[] = implode('', array_merge(array_keys($fields), array_values($fields)));
1045
        }
1046
1047
        // skip and limit
1048
        $hash[] = $this->skip;