Skip to content

Commit

Permalink
Fix assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen authored May 14, 2020
1 parent b3ad155 commit acc4778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SAML2/AuthnRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ public function getAssertionConsumerServiceIndex()
*/
public function setAssertionConsumerServiceIndex($assertionConsumerServiceIndex)
{
Assert::nullOrString($assertionConsumerServiceIndex);
Assert::nullOrInteger($assertionConsumerServiceIndex);

$this->assertionConsumerServiceIndex = $assertionConsumerServiceIndex;
}
Expand Down

0 comments on commit acc4778

Please sign in to comment.