diff --git a/lib/Doctrine/Import/Builder.php b/lib/Doctrine/Import/Builder.php index 82195340d..2ea5fc983 100644 --- a/lib/Doctrine/Import/Builder.php +++ b/lib/Doctrine/Import/Builder.php @@ -923,7 +923,7 @@ public function buildActAs($actAs) * @param array $emittedActAs contains on output an array of actAs command to be appended to output * @return string actAs full definition */ - private function innerBuildActAs($actAs, $level = 0, $parent = null, array &$emittedActAs) + private function innerBuildActAs($actAs, $level = 0, $parent = null, array &$emittedActAs = array()) { // rewrite special case of actAs: [Behavior] which gave [0] => Behavior if (is_array($actAs) && isset($actAs[0]) && !is_array($actAs[0])) {