Skip to content

Commit 2c5a81d

Browse files
committed
bug #7151 Remove a duplicated method (javiereguiluz)
This PR was merged into the 4.x branch. Discussion ---------- Remove a duplicated method Fixes #7150. Commits ------- ce7d1d2 Remove a duplicated method
2 parents b496eb2 + ce7d1d2 commit 2c5a81d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/Dto/EntityDto.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -215,11 +215,6 @@ public function getPropertyMetadata(string $propertyName): KeyValueStore
215215
throw new \InvalidArgumentException(sprintf('The "%s" field does not exist in the "%s" entity.', $propertyName, $this->getFqcn()));
216216
}
217217

218-
public function getClassMetadata(): ClassMetadata
219-
{
220-
return $this->metadata;
221-
}
222-
223218
/**
224219
* @deprecated since 4.27 and to be removed in 5.0, use $entityDto->getClassMetadata()->getFieldMapping($propertyName)->type and $entityDto->getClassMetadata()->getAssociationMapping($propertyName)->type() instead
225220
*/

0 commit comments

Comments
 (0)