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