mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
Remove uneeded assertion
This commit is contained in:
@@ -893,7 +893,6 @@ class XmlDriver extends FileDriver
|
||||
{
|
||||
$cascades = [];
|
||||
foreach ($cascadeElement->children() as $action) {
|
||||
assert($action instanceof SimpleXMLElement);
|
||||
// According to the JPA specifications, XML uses "cascade-persist"
|
||||
// instead of "persist". Here, both variations
|
||||
// are supported because both YAML and Annotation use "persist"
|
||||
|
||||
Reference in New Issue
Block a user