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/Service/Geocoder/Request/GeocoderAddressRequest.php 1 location

@@ 194-198 (lines=5) @@
191
    {
192
        $query = ['address' => $this->address];
193
194
        if ($this->hasComponents()) {
195
            $query['components'] = implode('|', array_map(function ($type, $value) {
196
                return $type.':'.$value;
197
            }, array_keys($this->components), $this->components));
198
        }
199
200
        if ($this->hasBound()) {
201
            $query['bound'] = implode('|', [

src/Service/Place/Autocomplete/Request/PlaceAutocompleteRequest.php 1 location

@@ 184-188 (lines=5) @@
181
            $query['types'] = implode('|', $this->types);
182
        }
183
184
        if ($this->hasComponents()) {
185
            $query['components'] = implode('|', array_map(function ($key, $value) {
186
                return $key.':'.$value;
187
            }, array_keys($this->components), array_values($this->components)));
188
        }
189
190
        return $query;
191
    }