Skip to content

Commit

Permalink
Merge pull request doctrine#719 from mnapoli/patch-1
Browse files Browse the repository at this point in the history
Improve the phpdoc of ObjectRepository
  • Loading branch information
Ocramius committed May 25, 2016
2 parents 773c56e + bebd98d commit faf7d81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Doctrine/Common/Persistence/ObjectRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ interface ObjectRepository
*
* @param mixed $id The identifier.
*
* @return object The object.
* @return object|null The object.
*/
public function find($id);

Expand Down Expand Up @@ -68,7 +68,7 @@ public function findBy(array $criteria, array $orderBy = null, $limit = null, $o
*
* @param array $criteria The criteria.
*
* @return object The object.
* @return object|null The object.
*/
public function findOneBy(array $criteria);

Expand Down

0 comments on commit faf7d81

Please sign in to comment.