Skip to content

Invisible \u00A0 character before is_object() call #380

Open
@chriswayoub

Description

@chriswayoub

There are non-breaking space UTF-8 characters in the source code that cause fatal errors. It looks like this is the case everywhere that the code calls is_object when checking the $data array. I've referenced one example below, but they all have the same issue.

if(is_array($data) || is_object($data)) {

The fatal error that is thrown is:

Call to undefined function net\authorize\api\contract\v1\ is_object()

This looks like an issue with the code generation script:

if(is_array($data) || is_object($data)) {

According to the contribution guide, I can't submit a pull request for those files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions