mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 08:14:03 +02:00
RepositoryQuery: Actually return self in method peekAhead and not the parent
This commit is contained in:
parent
1280137eae
commit
b76e6e7597
@ -423,11 +423,14 @@ class RepositoryQuery implements QueryInterface, SortRules, FilterColumns, Itera
|
||||
* Enabling this causes the current query limit to be increased by one. The potential extra row being yielded will
|
||||
* be removed from the result set. Note that this only applies when fetching multiple results of limited queries.
|
||||
*
|
||||
* @param bool $state
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function peekAhead($state = true)
|
||||
{
|
||||
return $this->query->peekAhead($state);
|
||||
$this->query->peekAhead($state);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user