Editted the source for phpmd compliance