Skip to content

Commit 08cc2da

Browse files
committed
fixed php < 7.4 error
1 parent 324732c commit 08cc2da

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

forms/OpenIDStep2Form.inc.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,17 @@
2828
*/
2929
class OpenIDStep2Form extends Form
3030
{
31-
private array $credentials;
32-
private OpenIDPlugin $plugin;
33-
private ?int $contextId;
31+
private $credentials;
32+
private $plugin;
33+
private $contextId;
3434

3535
/**
3636
* OpenIDStep2Form constructor.
3737
*
3838
* @param OpenIDPlugin $plugin
3939
* @param array $credentials
4040
*/
41-
function __construct(OpenIDPlugin $plugin, array $credentials = array())
41+
function __construct($plugin, $credentials = array())
4242
{
4343
$context = Application::get()->getRequest()->getContext();
4444
$this->contextId = ($context == null) ? 0 : $context->getId();

0 commit comments

Comments
 (0)