Code Duplication    Length = 10-10 lines in 2 locations

lib/Doctrine/DBAL/Driver/Mysqli/MysqliStatement.php 1 location

@@ 383-392 (lines=10) @@
380
    /**
381
     * {@inheritdoc}
382
     */
383
    public function fetchColumn($columnIndex = 0)
384
    {
385
        $row = $this->fetch(FetchMode::NUMERIC);
386
387
        if ($row === false) {
388
            return false;
389
        }
390
391
        return $row[$columnIndex] ?? null;
392
    }
393
394
    /**
395
     * {@inheritdoc}

lib/Doctrine/DBAL/Driver/SQLAnywhere/SQLAnywhereStatement.php 1 location

@@ 283-292 (lines=10) @@
280
    /**
281
     * {@inheritdoc}
282
     */
283
    public function fetchColumn($columnIndex = 0)
284
    {
285
        $row = $this->fetch(FetchMode::NUMERIC);
286
287
        if ($row === false) {
288
            return false;
289
        }
290
291
        return $row[$columnIndex] ?? null;
292
    }
293
294
    /**
295
     * {@inheritdoc}