Code Duplication    Length = 8-8 lines in 2 locations

lib/Doctrine/DBAL/Platforms/DrizzlePlatform.php 1 location

@@ 456-463 (lines=8) @@
453
    /**
454
     * {@inheritDoc}
455
     */
456
    public function getDateTimeTypeDeclarationSQL(array $fieldDeclaration)
457
    {
458
        if (isset($fieldDeclaration['version']) && $fieldDeclaration['version'] == true) {
459
            return 'TIMESTAMP';
460
        }
461
462
        return 'DATETIME';
463
    }
464
465
    /**
466
     * {@inheritDoc}

lib/Doctrine/DBAL/Platforms/MySqlPlatform.php 1 location

@@ 281-288 (lines=8) @@
278
    /**
279
     * {@inheritDoc}
280
     */
281
    public function getDateTimeTypeDeclarationSQL(array $fieldDeclaration)
282
    {
283
        if (isset($fieldDeclaration['version']) && $fieldDeclaration['version'] == true) {
284
            return 'TIMESTAMP';
285
        }
286
287
        return 'DATETIME';
288
    }
289
290
    /**
291
     * {@inheritDoc}