diff --git a/lib/SimpleSAML/Configuration.php b/lib/SimpleSAML/Configuration.php index 8e7fc1f3f42a13acf19b36b19908d152d672053c..afa394e2ce96933c70d7bd67a66226c1be605bdf 100644 --- a/lib/SimpleSAML/Configuration.php +++ b/lib/SimpleSAML/Configuration.php @@ -912,7 +912,8 @@ class Configuration implements Utils\ClearableState * required if this parameter isn't given. The default value can be any value, including * null. * - * @return array|mixed The option with the given name, or $default if the option isn't found and $default is specified. + * @return array|mixed The option with the given name, or $default + * if the option isn't found and $default is specified. */ public function getArrayize($name, $default = self::REQUIRED_OPTION) { diff --git a/modules/core/lib/Controller/RedirectionController.php b/modules/core/lib/Controller/RedirectionController.php index afa03a54fac6d1e6281ab015df896b047310b07b..efb88d93c23238cc223ae867d0b4e2b642e88ec2 100644 --- a/modules/core/lib/Controller/RedirectionController.php +++ b/modules/core/lib/Controller/RedirectionController.php @@ -73,7 +73,6 @@ class RedirectionController if (empty($sessionId) || empty($postId)) { throw new Error\BadRequest('Invalid session info data.'); } - } else { throw new Error\BadRequest('Missing redirection info parameter.'); }