fix php strict errors
Merge pull request #76 from Klap-in/phpstrict

fix php strict errors