Skip to content

Commit

Permalink
Fix phpdoc (#8074)
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Mar 19, 2020
1 parent 58b8130 commit dafe298
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/Doctrine/ORM/Query.php
Expand Up @@ -624,7 +624,7 @@ public function contains($dql)
/**
* Sets the position of the first result to retrieve (the "offset").
*
* @param integer $firstResult The first result to return.
* @param int|null $firstResult The first result to return.
*
* @return Query This query object.
*/
Expand Down
6 changes: 3 additions & 3 deletions lib/Doctrine/ORM/QueryBuilder.php
Expand Up @@ -100,7 +100,7 @@ class QueryBuilder
/**
* The index of the first result to retrieve.
*
* @var integer
* @var int|null
*/
private $_firstResult = null;

Expand Down Expand Up @@ -616,7 +616,7 @@ function (Query\Parameter $parameter) use ($key) : bool {
/**
* Sets the position of the first result to retrieve (the "offset").
*
* @param integer $firstResult The first result to return.
* @param int|null $firstResult The first result to return.
*
* @return self
*/
Expand All @@ -631,7 +631,7 @@ public function setFirstResult($firstResult)
* Gets the position of the first result the query object was set to retrieve (the "offset").
* Returns NULL if {@link setFirstResult} was not applied to this QueryBuilder.
*
* @return integer The position of the first result.
* @return int|null The position of the first result.
*/
public function getFirstResult()
{
Expand Down

0 comments on commit dafe298

Please sign in to comment.