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

lib/Transmission/Transmission.php 2 locations

@@ 103-114 (lines=12) @@
100
     *
101
     * @return Session
102
     */
103
    public function getSession()
104
    {
105
        $response = $this->getClient()->call(
106
            'session-get',
107
            array()
108
        );
109
110
        return $this->getMapper()->map(
111
            new Session($this->getClient()),
112
            $this->getValidator()->validate('session-get', $response)
113
        );
114
    }
115
116
    /**
117
     * @return SessionStats
@@ 119-130 (lines=12) @@
116
    /**
117
     * @return SessionStats
118
     */
119
    public function getSessionStats()
120
    {
121
        $response = $this->getClient()->call(
122
            'session-stats',
123
            array()
124
        );
125
126
        return $this->getMapper()->map(
127
            new SessionStats(),
128
            $this->getValidator()->validate('session-stats', $response)
129
        );
130
    }
131
132
    /**
133
     * Get Free space