PR #4 introduces a new issue around type checking as outlined on Scrutinizer. Details as follows.
Scrutinizer
- IssueId: 41884235
Message:
It seems like $request->getContent() can also be of type resource; however, parameter $data of hash_hmac() does only seem to accept string, maybe add an additional type check?
File details
Filename: src/Http/Controllers/WebhookController.php
LineNumber: 42