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

src/Service/Geocoder/GeocoderService.php 1 location

@@ 140-148 (lines=9) @@
137
     *
138
     * @return AddressComponent
139
     */
140
    private function buildAddressComponent(array $data)
141
    {
142
        $address = new AddressComponent();
143
        $address->setLongName($data['long_name']);
144
        $address->setShortName($data['short_name']);
145
        $address->setTypes($data['types']);
146
147
        return $address;
148
    }
149
150
    /**
151
     * @param mixed[] $data

src/Service/Place/Detail/PlaceDetailService.php 1 location

@@ 173-181 (lines=9) @@
170
     *
171
     * @return AddressComponent
172
     */
173
    private function buildAddressComponent(array $data)
174
    {
175
        $address = new AddressComponent();
176
        $address->setLongName($data['long_name']);
177
        $address->setShortName($data['short_name']);
178
        $address->setTypes($data['types']);
179
180
        return $address;
181
    }
182
183
    /**
184
     * @param mixed[] $data