Love it! ;-) Best practice switch/case statement in PHP. Magento 3rd party module. #fail