Better layout of logic using switch
Better layout of logic using switch

Previous version was confusing to follow, made more readable with outer switch statement.
tasselchof/Codeception,pitpit/Codeception,sergeyklay/Codeception,Vreasy/Codeception,tiger-seo/Codeception,janhenkgerritsen/Codeception,Codeception/base,janhenkgerritsen/Codeception,Naktibalda/Codeception,TehJoE/Codeception,Naktibalda/Codeception,sergeyklay/Codeception,hubbyist/Codeception,kt81/Codeception,Naktibalda/Codeception,tasselchof/Codeception,hubbyist/Codeception,Codeception/base,tiger-seo/Codeception,tasselchof/Codeception,Codeception/Codeception,TehJoE/Codeception,Codeception/base,kt81/Codeception,Vreasy/Codeception,Codeception/Codeception,pitpit/Codeception