Skip to content

Illegal offset type in isset or empty #26

@ryanhungate

Description

@ryanhungate

Now the api wont return an array response... I just did a DD under the $class = and it prints out my array that was returned in the response.

protected function hasTransformer($class)
    {
            $class = is_object($class) ? get_class($class) : $class;
            return isset($this->transformers[$class]);
    }

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