Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix phpdoc #8074

Merged
merged 5 commits into from Mar 19, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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 integer|null $firstResult The first result to return.
VincentLanglet marked this conversation as resolved.
Show resolved Hide resolved
*
* @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 integer|null
VincentLanglet marked this conversation as resolved.
Show resolved Hide resolved
*/
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 integer|null $firstResult The first result to return.
VincentLanglet marked this conversation as resolved.
Show resolved Hide resolved
*
* @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 integer|null The position of the first result.
VincentLanglet marked this conversation as resolved.
Show resolved Hide resolved
*/
public function getFirstResult()
{
Expand Down