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

src/MultiRequest.php 1 location

@@ 65-73 (lines=9) @@
62
     * @param array $options
63
     * @return $this
64
     */
65
    public function add($method, $uri, $payload, array $options = array())
66
    {
67
        $options = array(
68
                'method' => $method,
69
                'url' => $uri,
70
                'data' => $payload,
71
            ) + $options;
72
        $this->addOptions(array($options));
73
        return $this;
74
    }
75
76
    /**

src/Request.php 1 location

@@ 263-269 (lines=7) @@
260
     * @param array $options
261
     * @return $this
262
     */
263
    protected function ini($method, $url, $data, array $options = array())
264
    {
265
        $options = array('url' => $url, 'method' => $method, 'data' => $data) + $options;
266
        $this->addOptions($options);
267
268
        return $this;
269
    }
270
271
    /**
272
     * @param array $options