public function getFirst(): string
	{
		$uri = clone $this->uri;

		if ($this->segment === 0)
		{
			$uri->addQuery('page', 1);
		}
		else
		{
			$uri->setSegment($this->segment, 1);
		}

		return (string) $uri;
	}
public function getFirst(): string
	{
		$uri = clone $this->uri;

		if ($this->segment === 0)
		{
			$uri->addQuery('page', 1);
		}
		else
		{
			$uri->setSegment($this->segment, 1);
		}

		return (string) $uri;
	}
public function getFirst ( ) : string { $ uri = clone $ this -> uri ; if ( $ this -> segment === 0 ) { $ uri -> addQuery ( 'page' , 1 ) ; } else { $ uri -> setSegment ( $ this -> segment , 1 ) ; } return ( string ) $ uri ; }
Returns the URI of the first page.

@return string
Returns the URI of the first page .