Code Duplication    Length = 10-10 lines in 2 locations

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

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

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

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