small php fixes

see: https://github.com/juanvillegas/s2-stripe/issues/1