Skip to content

Commit

Permalink
PHP 7 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
peterkeung committed Apr 30, 2018
1 parent 84f49be commit 699df96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions classes/ezpaypalchecker.php
Expand Up @@ -47,9 +47,9 @@ class eZPaypalChecker extends eZPaymentCallbackChecker
Constructor.
*/

function eZPaypalChecker( $iniFile )
function __construct( $iniFile )
{
$this->eZPaymentCallbackChecker( $iniFile );
parent::__construct( $iniFile );
$this->logger = eZPaymentLogger::CreateForAdd( 'var/log/eZPaypalChecker.log' );
}

Expand Down
2 changes: 1 addition & 1 deletion classes/ezpaypalgateway.php
Expand Up @@ -47,7 +47,7 @@ class eZPaypalGateway extends eZRedirectGateway
Constructor.
*/

function eZPaypalGateway()
function __construct()
{
//__DEBUG__
$this->logger = eZPaymentLogger::CreateForAdd( "var/log/eZPaypalType.log" );
Expand Down

0 comments on commit 699df96

Please sign in to comment.