Skip to content

Commit 017c9a2

Browse files
authored
fix ClassMetadata namespace
fix: #156
1 parent b3d6452 commit 017c9a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Doctrine/EntityDetails.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function getFormFields()
6363
}
6464

6565
foreach ($this->metadata->associationMappings as $fieldName => $relation) {
66-
if (ClassMetadata::ONE_TO_MANY !== $relation['type']) {
66+
if (\Doctrine\ORM\Mapping\ClassMetadata::ONE_TO_MANY !== $relation['type']) {
6767
$fields[] = $fieldName;
6868
}
6969
}

0 commit comments

Comments
 (0)