Merge branch 'develop'
Update BaseProvider.php

fix Invalid argument supplied for foreach() 
glob function return is false
Update BaseProvider.php
Extra check + indenting fix
Merge pull request #22 from ceesvanegmond/pr/21

Fix return false php glob