Skip to content

'$request->getContent()' may need an additional type check #6

@justinhartman

Description

@justinhartman

PR #4 introduces a new issue around type checking as outlined on Scrutinizer. Details as follows.

Scrutinizer

  1. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions