Fixing phpmd issue