Skip to content

Dangerous usage of cacheableSupport in DomainDenormalizer #60

@mcsky

Description

@mcsky

This line looks suspicious:

It should probably be the following:

return $this->decorated instanceof CacheableSupportsMethodInterface && $this->decorated->hasCacheableSupportsMethod();

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