From 08cc2da16140489e982a099d2774fdc503580961 Mon Sep 17 00:00:00 2001 From: RBoelter Date: Fri, 20 Nov 2020 09:54:59 +0100 Subject: [PATCH] fixed php < 7.4 error --- forms/OpenIDStep2Form.inc.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/forms/OpenIDStep2Form.inc.php b/forms/OpenIDStep2Form.inc.php index f0f4645..a9e8b9a 100644 --- a/forms/OpenIDStep2Form.inc.php +++ b/forms/OpenIDStep2Form.inc.php @@ -28,9 +28,9 @@ */ class OpenIDStep2Form extends Form { - private array $credentials; - private OpenIDPlugin $plugin; - private ?int $contextId; + private $credentials; + private $plugin; + private $contextId; /** * OpenIDStep2Form constructor. @@ -38,7 +38,7 @@ class OpenIDStep2Form extends Form * @param OpenIDPlugin $plugin * @param array $credentials */ - function __construct(OpenIDPlugin $plugin, array $credentials = array()) + function __construct($plugin, $credentials = array()) { $context = Application::get()->getRequest()->getContext(); $this->contextId = ($context == null) ? 0 : $context->getId();