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

@@ 130-132 (lines=3) @@
127
128
        $request = $request->withAttribute( $this->ipstack_attribute, $ipstack);
129
        // Map certain ipstack fields to custom request attributes
130
        foreach( $this->ipstack_attributes as $field => $attr_name):
131
            $request = $request->withAttribute($attr_name, $ipstack[ $field ] ?? null );
132
        endforeach;
133
134
        // Call $handler, return response
135
        return $handler->handle($request);
@@ 159-161 (lines=3) @@
156
157
        $request = $request->withAttribute( $this->ipstack_attribute, $ipstack);
158
        // Map certain ipstack fields to custom request attributes
159
        foreach( $this->ipstack_attributes as $field => $attr_name):
160
            $request = $request->withAttribute($attr_name, $ipstack[ $field ] ?? null );
161
        endforeach;
162
163
164
        // Call $next middleware, return response