Skip to content

Commit

Permalink
Made the ODM compatible with Common 2.2 again
Browse files Browse the repository at this point in the history
  • Loading branch information
stof committed Jul 19, 2012
1 parent 48add00 commit e373044
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"php": ">=5.3.2",
"symfony/yaml": ">=2.0",
"symfony/console": ">=2.0",
"doctrine/common": ">=2.3.0,<2.5-dev",
"doctrine/common": ">=2.2.0,<2.5-dev",
"doctrine/mongodb": "dev-master"
},
"minimum-stability": "dev",
Expand Down
2 changes: 1 addition & 1 deletion lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadataFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ protected function isEntity(ClassMetadataInterface $class)
/**
* {@inheritDoc}
*/
protected function doLoadMetadata($class, $parent, $rootEntityFound, array $nonSuperclassParents)
protected function doLoadMetadata($class, $parent, $rootEntityFound, array $nonSuperclassParents = array())
{
/** @var $class ClassMetadata */
/** @var $parent ClassMetadata */
Expand Down

0 comments on commit e373044

Please sign in to comment.