You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
justinhartman
changed the title
$request->getContent() may need an additional type check
'$request->getContent()' may need an additional type check
Nov 15, 2019
PR #4 introduces a new issue around type checking as outlined on Scrutinizer. Details as follows.
Scrutinizer
Message:
It seems like
$request->getContent()
can also be of typeresource
; however, parameter$data
ofhash_hmac()
does only seem to acceptstring
, maybe add an additional type check?File details
Filename: src/Http/Controllers/WebhookController.php
LineNumber: 42
The text was updated successfully, but these errors were encountered: