You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Copy file name to clipboardExpand all lines: src/Dto/EntityDto.php
-5Lines changed: 0 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -215,11 +215,6 @@ public function getPropertyMetadata(string $propertyName): KeyValueStore
215
215
thrownew \InvalidArgumentException(sprintf('The "%s" field does not exist in the "%s" entity.', $propertyName, $this->getFqcn()));
216
216
}
217
217
218
-
publicfunctiongetClassMetadata(): ClassMetadata
219
-
{
220
-
return$this->metadata;
221
-
}
222
-
223
218
/**
224
219
* @deprecated since 4.27 and to be removed in 5.0, use $entityDto->getClassMetadata()->getFieldMapping($propertyName)->type and $entityDto->getClassMetadata()->getAssociationMapping($propertyName)->type() instead
0 commit comments