Skip to content
Snippets Groups Projects
Unverified Commit 2fafe1fe authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

phpdoc + minor fixes

parent 0c6669c0
No related branches found
No related tags found
No related merge requests found
......@@ -128,7 +128,7 @@ class sspmod_negotiate_Auth_Source_Negotiate extends SimpleSAML_Auth_Source
$this->referrals
);
list($mech, $data) = explode(' ', $_SERVER['HTTP_AUTHORIZATION'], 2);
list($mech,) = explode(' ', $_SERVER['HTTP_AUTHORIZATION'], 2);
if (strtolower($mech) == 'basic') {
SimpleSAML\Logger::debug('Negotiate - authenticate(): Basic found. Skipping.');
} else {
......@@ -259,7 +259,7 @@ EOF;
/**
* Passes control of the login process to a different module.
*
* @param string $state Information about the current authentication.
* @param array $state Information about the current authentication.
*
* @throws SimpleSAML_Error_Error If couldn't determine the auth source.
* @throws SimpleSAML_Error_Exception
......@@ -270,7 +270,7 @@ EOF;
$authId = $state['LogoutState']['negotiate:backend'];
if ($authId === null) {
throw new SimpleSAML_Error_Error(500, "Unable to determine auth source.");
throw new SimpleSAML_Error_Error(array(500, "Unable to determine auth source."));
}
$source = SimpleSAML_Auth_Source::getById($authId);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment