Remove PHP5.4 usage of bracket
errorMessages return array only