public function getFirstRow(string $type = 'object')
	{
		$result = $this->getResult($type);

		return (empty($result)) ? null : $result[0];
	}
public function getFirstRow(string $type = 'object')
	{
		$result = $this->getResult($type);

		return (empty($result)) ? null : $result[0];
	}
public function getFirstRow ( string $ type = 'object' ) { $ result = $ this -> getResult ( $ type ) ; return ( empty ( $ result ) ) ? null : $ result [ 0 ] ; }
Returns the "first" row of the current results.

@param string $type

@return mixed
Returns the first row of the current results .