Skip to content

Commit

Permalink
fixed php < 7.4 error
Browse files Browse the repository at this point in the history
  • Loading branch information
RBoelter committed Nov 20, 2020
1 parent 324732c commit 08cc2da
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions forms/OpenIDStep2Form.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@
*/
class OpenIDStep2Form extends Form
{
private array $credentials;
private OpenIDPlugin $plugin;
private ?int $contextId;
private $credentials;
private $plugin;
private $contextId;

/**
* OpenIDStep2Form constructor.
*
* @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();
Expand Down

0 comments on commit 08cc2da

Please sign in to comment.