Code Duplication    Length = 8-8 lines in 2 locations

lib/Doctrine/DBAL/Driver/SQLSrv/SQLSrvStatement.php 1 location

@@ 285-292 (lines=8) @@
282
    /**
283
     * {@inheritdoc}
284
     */
285
    public function setFetchMode($fetchMode, $arg2 = null, $arg3 = null)
286
    {
287
        $this->defaultFetchMode          = $fetchMode;
288
        $this->defaultFetchClass         = $arg2 ?: $this->defaultFetchClass;
289
        $this->defaultFetchClassCtorArgs = $arg3 ? (array) $arg3 : $this->defaultFetchClassCtorArgs;
290
291
        return true;
292
    }
293
294
    /**
295
     * {@inheritdoc}

lib/Doctrine/DBAL/Driver/IBMDB2/DB2Statement.php 1 location

@@ 189-196 (lines=8) @@
186
    /**
187
     * {@inheritdoc}
188
     */
189
    public function setFetchMode($fetchMode, $arg2 = null, $arg3 = null)
190
    {
191
        $this->_defaultFetchMode         = $fetchMode;
192
        $this->defaultFetchClass         = $arg2 ? $arg2 : $this->defaultFetchClass;
193
        $this->defaultFetchClassCtorArgs = $arg3 ? (array) $arg3 : $this->defaultFetchClassCtorArgs;
194
195
        return true;
196
    }
197
198
    /**
199
     * {@inheritdoc}