Fixed PHPMD warning