biig-io/DomainComponent

Dangerous usage of cacheableSupport in DomainDenormalizer

Opened this issue · 0 comments

mcsky commented

This line looks suspicious:

It should probably be the following:

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