Code Duplication    Length = 5-5 lines in 2 locations

core/vendor/doctrine/dbal/lib/Doctrine/DBAL/Platforms/SqlitePlatform.php 2 locations

@@ 362-366 (lines=5) @@
359
            return $query;
360
        }
361
362
        if (isset($options['indexes']) && ! empty($options['indexes'])) {
363
            foreach ($options['indexes'] as $indexDef) {
364
                $query[] = $this->getCreateIndexSQL($indexDef, $name);
365
            }
366
        }
367
368
        if (isset($options['unique']) && ! empty($options['unique'])) {
369
            foreach ($options['unique'] as $indexDef) {
@@ 368-372 (lines=5) @@
365
            }
366
        }
367
368
        if (isset($options['unique']) && ! empty($options['unique'])) {
369
            foreach ($options['unique'] as $indexDef) {
370
                $query[] = $this->getCreateIndexSQL($indexDef, $name);
371
            }
372
        }
373
374
        return $query;
375
    }