Skip to content

Commit acc4778

Browse files
authored
Fix assertion
1 parent b3ad155 commit acc4778

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SAML2/AuthnRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ public function getAssertionConsumerServiceIndex()
639639
*/
640640
public function setAssertionConsumerServiceIndex($assertionConsumerServiceIndex)
641641
{
642-
Assert::nullOrString($assertionConsumerServiceIndex);
642+
Assert::nullOrInteger($assertionConsumerServiceIndex);
643643

644644
$this->assertionConsumerServiceIndex = $assertionConsumerServiceIndex;
645645
}

0 commit comments

Comments
 (0)