Fix PHP strict mode error
Merge pull request #160 from andig/add-sensor-test

Fix PHP strict mode error