Skip to content

Commit

Permalink
Cast port to integer to avoid CAS_TypeMismatchException - fixes #35
Browse files Browse the repository at this point in the history
  • Loading branch information
Roussel Xavier committed May 26, 2016
1 parent a750b95 commit b145527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Xavrsl/Cas/Sso.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ private function configureCasClient()
phpCAS::$method(
!$this->config['cas_saml'] ? CAS_VERSION_2_0 : SAML_VERSION_1_1,
$this->config['cas_hostname'],
$this->config['cas_port'],
(integer) $this->config['cas_port'],
$this->config['cas_uri']
);
}
Expand Down

0 comments on commit b145527

Please sign in to comment.