Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Query::getSingleResult() should not take options

This should have been cleaned up in 2892cd9
  • Loading branch information...
commit b381ff34ef9e751e8131e81a06c12f840ef3c2d6 1 parent d734f2e
@jmikola jmikola authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Doctrine/MongoDB/Query/Query.php
View
4 lib/Doctrine/MongoDB/Query/Query.php
@@ -265,9 +265,9 @@ public function count($all = false)
*
* @return object $document The single document.
*/
- public function getSingleResult(array $options = array())
+ public function getSingleResult()
{
- return $this->getIterator($options)->getSingleResult();
+ return $this->getIterator()->getSingleResult();
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.