From 08e8af9372b7b37d8e27a89aa960a5045d32c407 Mon Sep 17 00:00:00 2001 From: Andrey Knupp Vital Date: Thu, 8 Jan 2015 09:28:15 -0200 Subject: [PATCH] Type-hinting `SimpleXMLElement` (_getCascadeMappings) --- lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */