Code Duplication    Length = 11-12 lines in 2 locations

src/Mapping/Type/AbstractNumericType.php 1 location

@@ 19-29 (lines=11) @@
16
    /**
17
     * @inheritDoc
18
     */
19
    public function getParameters(): array
20
    {
21
        return [
22
            CoerceParameter::getInstance(),
23
            DocValuesParameter::getInstance(),
24
            IgnoreMalformedParameter::getInstance(),
25
            IndexParameter::getInstance(),
26
            NullValueParameter::getInstance(),
27
            StoreParameter::getInstance(),
28
        ];
29
    }
30
}
31

src/Mapping/Type/DateType.php 1 location

@@ 28-39 (lines=12) @@
25
    /**
26
     * @inheritDoc
27
     */
28
    public function getParameters(): array
29
    {
30
        return [
31
            DocValuesParameter::getInstance(),
32
            FormatParameter::getInstance(),
33
            LocaleParameter::getInstance(),
34
            IgnoreMalformedParameter::getInstance(),
35
            IndexParameter::getInstance(),
36
            NullValueParameter::getInstance(),
37
            StoreParameter::getInstance(),
38
        ];
39
    }
40
}
41