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

src/IpstackMiddleware.php 2 locations

@@ 153-155 (lines=3) @@
150
151
        $request = $request->withAttribute( $this->ipstack_attribute, $ipstack);
152
        // Map certain ipstack fields to custom request attributes
153
        foreach( $this->ipstack_attributes as $field => $attr_name):
154
            $request = $request->withAttribute($attr_name, $ipstack[ $field ] ?? null );
155
        endforeach;
156
157
        // Call $handler, return response
158
        return $handler->handle($request);
@@ 183-185 (lines=3) @@
180
181
        $request = $request->withAttribute( $this->ipstack_attribute, $ipstack);
182
        // Map certain ipstack fields to custom request attributes
183
        foreach( $this->ipstack_attributes as $field => $attr_name):
184
            $request = $request->withAttribute($attr_name, $ipstack[ $field ] ?? null );
185
        endforeach;
186
187
188
        // Call $next middleware, return response