The method getDestination() does not exist on SimpleSAML\XML\SerializableElementInterface. It seems like you code against a sub-type of SimpleSAML\XML\SerializableElementInterface such as SimpleSAML\SAML2\XML\samlp\AbstractMessage.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
35
if ($assertionConsumerService->getLocation() === $response->/** @scrutinizer ignore-call */ getDestination()) {
Loading history...
36
if (Binding::getBinding($assertionConsumerService->getBinding()) instanceof $this->binding) {