Code Duplication    Length = 10-10 lines in 2 locations

src/Mapping/Parameter/DynamicParameter.php 1 location

@@ 21-30 (lines=10) @@
18
        return self::ID;
19
    }
20
21
    public function getAllowedValues()
22
    {
23
        return [
24
            true,
25
            false,
26
            self::VALUE_TRUE,
27
            self::VALUE_FALSE,
28
            self::VALUE_STRICT
29
        ];
30
    }
31
}
32

src/Mapping/Parameter/TermVectorParameter.php 1 location

@@ 28-37 (lines=10) @@
25
        return self::FRIENDLY_ID;
26
    }
27
28
    public function getAllowedValues()
29
    {
30
        return [
31
            self::VALUE_NO,
32
            self::VALUE_YES,
33
            self::VALUE_WITH_POSITIONS,
34
            self::VALUE_WITH_OFFSETS,
35
            self::VALUE_WITH_POSITIONS_AND_OFFSETS
36
        ];
37
    }
38
}
39