Code Duplication    Length = 3-3 lines in 2 locations

src/annotation/Inject.php 2 locations

@@ 35-37 (lines=3) @@
32
        $propertyMetadata->injectable = array_shift($this->collection);
33
34
        // Check if we need to append namespace to injectable
35
        if ($propertyMetadata->injectable !== null && strpos($propertyMetadata->injectable, '\\') === false) {
36
            $propertyMetadata->injectable = $propertyMetadata->classMetadata->nameSpace . '\\' . $propertyMetadata->injectable;
37
        }
38
39
        // Check if we need to append namespace to type hint
40
        if ($propertyMetadata->typeHint !== null && strpos($propertyMetadata->typeHint, '\\') === false) {
@@ 40-42 (lines=3) @@
37
        }
38
39
        // Check if we need to append namespace to type hint
40
        if ($propertyMetadata->typeHint !== null && strpos($propertyMetadata->typeHint, '\\') === false) {
41
            $propertyMetadata->typeHint = $propertyMetadata->classMetadata->nameSpace . '\\' . $propertyMetadata->typeHint;
42
        }
43
44
        // Check for inheritance violation
45
        if ($this->checkInheritanceViolation($propertyMetadata)) {