improve php strictness of signatures
Merge pull request #7 from Klap-in/somechanges

improve php strictness of signatures. Minor changes.