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 = 13-13 lines in 4 locations

phpmyfaq/inc/PMF/DB/Mssql.php 1 location

@@ 163-175 (lines=13) @@
160
     *
161
     * @return array
162
     */
163
    public function fetchAll($result)
164
    {
165
        $ret = [];
166
        if (false === $result) {
167
            throw new Exception('Error while fetching result: '.$this->error());
168
        }
169
170
        while ($row = $this->fetchObject($result)) {
171
            $ret[] = $row;
172
        }
173
174
        return $ret;
175
    }
176
177
    /**
178
     * Number of rows in a result.

phpmyfaq/inc/PMF/DB/Mysqli.php 1 location

@@ 179-191 (lines=13) @@
176
     *
177
     * @return array
178
     */
179
    public function fetchAll($result)
180
    {
181
        $ret = [];
182
        if (false === $result) {
183
            throw new Exception('Error while fetching result: '.$this->error());
184
        }
185
186
        while ($row = $this->fetchObject($result)) {
187
            $ret[] = $row;
188
        }
189
190
        return $ret;
191
    }
192
193
    /**
194
     * Number of rows in a result.

phpmyfaq/inc/PMF/DB/Pgsql.php 1 location

@@ 166-178 (lines=13) @@
163
     *
164
     * @return array
165
     */
166
    public function fetchAll($result)
167
    {
168
        $ret = [];
169
        if (false === $result) {
170
            throw new Exception('Error while fetching result: '.$this->error());
171
        }
172
173
        while ($row = $this->fetchObject($result)) {
174
            $ret[] = $row;
175
        }
176
177
        return $ret;
178
    }
179
180
    /**
181
     * Number of rows in a result.

phpmyfaq/inc/PMF/DB/Sqlsrv.php 1 location

@@ 186-198 (lines=13) @@
183
     *
184
     * @return array
185
     */
186
    public function fetchAll($result)
187
    {
188
        $ret = [];
189
        if (false === $result) {
190
            throw new Exception('Error while fetching result: '.$this->error());
191
        }
192
193
        while ($row = $this->fetchObject($result)) {
194
            $ret[] = $row;
195
        }
196
197
        return $ret;
198
    }
199
200
    /**
201
     * Number of rows in a result.