ServiceProvider : refactory if condition
Merge pull request #5 from timothylhuillier/develop

ServiceProvider : refactory if condition