From acc47782592866423942dc30002c5220203ab466 Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Thu, 14 May 2020 18:38:12 +0200 Subject: [PATCH] Fix assertion --- src/SAML2/AuthnRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SAML2/AuthnRequest.php b/src/SAML2/AuthnRequest.php index 8ce7f6927..4c2c8aef4 100644 --- a/src/SAML2/AuthnRequest.php +++ b/src/SAML2/AuthnRequest.php @@ -639,7 +639,7 @@ public function getAssertionConsumerServiceIndex() */ public function setAssertionConsumerServiceIndex($assertionConsumerServiceIndex) { - Assert::nullOrString($assertionConsumerServiceIndex); + Assert::nullOrInteger($assertionConsumerServiceIndex); $this->assertionConsumerServiceIndex = $assertionConsumerServiceIndex; }