Skip to content

Commit

Permalink
Set default to array for uninitialized ClassMetadataInfo::xmlNamespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
richardfullmer committed Aug 9, 2011
1 parent 0c5a22a commit fa74602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Doctrine/OXM/Mapping/ClassMetadataInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class ClassMetadataInfo implements BaseClassMetadata
*
* @var array
*/
public $xmlNamespaces;
public $xmlNamespaces = array();

/**
* The ReflectionClass instance of the mapped class.
Expand Down

0 comments on commit fa74602

Please sign in to comment.