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

src/Type/DotArray.php 2 locations

@@ 121-126 (lines=6) @@
118
        $parts = $this->explodeKey($key);
119
        $scope = &$this->array;
120
        $count = count($parts) - 1;
121
        for ($i = 0; $i < $count; $i++) {
122
            if (!isset($scope[$parts[$i]])) {
123
                return null;
124
            }
125
            $scope = &$scope[$parts[$i]];
126
        }
127
        
128
        return isset($scope[$parts[$i]]) ? $scope[$parts[$i]] : null;
129
    }
@@ 169-174 (lines=6) @@
166
        $parts = $this->explodeKey($key);
167
        $scope = &$this->array;
168
        $count = count($parts) - 1;
169
        for ($i = 0; $i < $count; $i++) {
170
            if (!isset($scope[$parts[$i]])) {
171
                return;
172
            }
173
            $scope = &$scope[$parts[$i]];
174
        }
175
        unset($scope[$parts[$i]]);
176
    }
177
}