core-bundle/src/Resources/contao/library/Contao/Database/Result.php
public function next()
	{
		if ($this->blnDone)
		{
			return false;
		}

		if ($this->fetchAssoc() !== false)
		{
			return $this;
		}

		$this->blnDone = true;

		return false;
	}
public function next()
	{
		if ($this->blnDone)
		{
			return false;
		}

		if ($this->fetchAssoc() !== false)
		{
			return $this;
		}

		$this->blnDone = true;

		return false;
	}
Go to the next row of the current result

@return Result|boolean The result object or false if there is no next row