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

@@ 329-335 (lines=7) @@
326
     * @param array $options
327
     * @return $this
328
     */
329
    protected function ini($method, $url, $data, array $options = array())
330
    {
331
        $options = array('url' => $url, 'method' => $method, 'data' => $data) + $options;
332
        $this->addOptions($options);
333
334
        return $this;
335
    }
336
337
    /**
338
     * @param array $options