Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Stark committed Aug 26, 2011
1 parent d3181d8 commit 0d0becd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Doctrine/ODM/PHPCR/DocumentManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ public function getChildren($document, $filter = null)
* @param string|array $name optional name to match on referrers names
* @return a collection of referrer documents
*/
public function getReferrers($document, $type = "all", $name = null)
public function getReferrers($document, $type = null, $name = null)
{
return $this->unitOfWork->getReferrers($document, $type, $name);
}
Expand Down

0 comments on commit 0d0becd

Please sign in to comment.