diff --git a/lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php b/lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php index 21e97c153..2797fb126 100644 --- a/lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php +++ b/lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php @@ -790,7 +790,7 @@ class XmlDriver extends FileDriver * * @return array The list of cascade options. */ - private function _getCascadeMappings($cascadeElement) + private function _getCascadeMappings(SimpleXMLElement $cascadeElement) { $cascades = array(); /* @var $action SimpleXmlElement */