This return is not working for me

public String verifyThePageTitle(){

	CommonUtilsObj=new CommonUtils(driver);
	if(CommonUtilsObj.isElementPresent(pageTitle)){
	String text= pageTitle.get(1).getText();
	return text;
	}

I am not able to return the text. But i want to return the text, please help meon the same.

@slakshmiics I would like to know which attribute is your text value set to and which platform you are on and also mention the identifier fro the pageTitle.