fixing some PHP warnings
Merge branch 'next' of https://github.com/TheSerapher/php-mmcfe-ng into next