Fixes #399 - Argument 4 to hash_hmac() must be be type of bool