diff --git a/src/Xavrsl/Cas/Sso.php b/src/Xavrsl/Cas/Sso.php index 77d1f0e..11af760 100644 --- a/src/Xavrsl/Cas/Sso.php +++ b/src/Xavrsl/Cas/Sso.php @@ -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'] ); }