From bb07d97716568b21bfca8077009c40cd73a9af47 Mon Sep 17 00:00:00 2001 From: Tim van Dijen <tvdijen@gmail.com> Date: Fri, 22 Nov 2019 20:47:10 +0100 Subject: [PATCH] PSR-12 --- lib/SimpleSAML/Configuration.php | 3 ++- modules/core/lib/Controller/RedirectionController.php | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/SimpleSAML/Configuration.php b/lib/SimpleSAML/Configuration.php index 8e7fc1f3f..afa394e2c 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 afa03a54f..efb88d93c 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.'); } -- GitLab