From 4ce254827368a64d9c64400e2c8bf15ec0480090 Mon Sep 17 00:00:00 2001 From: Tim van Dijen <tvdijen@gmail.com> Date: Sun, 3 Feb 2019 21:02:44 +0100 Subject: [PATCH] Fixes for modules/consent --- modules/consent/lib/Auth/Process/Consent.php | 2 +- modules/consent/lib/Logout.php | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/consent/lib/Auth/Process/Consent.php b/modules/consent/lib/Auth/Process/Consent.php index f5b6bfc81..6af1b63dd 100644 --- a/modules/consent/lib/Auth/Process/Consent.php +++ b/modules/consent/lib/Auth/Process/Consent.php @@ -383,7 +383,7 @@ class Consent extends \SimpleSAML\Auth\ProcessingFilter * Create a hash value for the attributes that changes when attributes are added or removed. If the attribute * values are included in the hash, the hash will change if the values change. * - * @param string $attributes The attributes. + * @param array $attributes The attributes. * @param bool $includeValues Whether or not to include the attribute value in the generation of the hash. * * @return string SHA1 of the user id, source id, destination id and salt. diff --git a/modules/consent/lib/Logout.php b/modules/consent/lib/Logout.php index f82961ee3..0bfcf3385 100644 --- a/modules/consent/lib/Logout.php +++ b/modules/consent/lib/Logout.php @@ -10,6 +10,11 @@ namespace SimpleSAML\Module\consent; class Logout { + /** + * @param \SimpleSAML\IdP $idp + * @param array $state + * @return void + */ public static function postLogout(\SimpleSAML\IdP $idp, array $state) { $url = \SimpleSAML\Module::getModuleURL('consent/logout_completed.php'); -- GitLab