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

@@ 1092-1096 (lines=5) @@
1089
        $hash[] = json_encode($this->expression->toArray());
1090
1091
        // sorts
1092
        if (!empty($this->sort)) {
1093
            $sort = $this->sort;
1094
            ksort($sort);
1095
            $hash[] = implode('', array_merge(array_keys($sort), array_values($sort)));
1096
        }
1097
1098
        // fields
1099
        if (!empty($this->projection)) {
@@ 1099-1103 (lines=5) @@
1096
        }
1097
1098
        // fields
1099
        if (!empty($this->projection)) {
1100
            $fields = $this->projection;
1101
            ksort($fields);
1102
            $hash[] = implode('', array_merge(array_keys($fields), array_values($fields)));
1103
        }
1104
1105
        // skip and limit
1106
        $hash[] = $this->skip;