Skip to content

Commit

Permalink
Merge pull request #148 from OPSnet/fix-dynamic-properties
Browse files Browse the repository at this point in the history
Fix dynamic property deprecation warnings
  • Loading branch information
serhack authored Dec 23, 2023
2 parents a29052b + 36962de commit c644c77
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/Cryptonote.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
class Cryptonote
{
protected $ed25519;
protected $base58;
protected $varint;

public function __construct()
{
$this->ed25519 = new ed25519();
Expand Down
1 change: 1 addition & 0 deletions src/daemonRPC.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class daemonRPC
private $url;
private $user;
private $password;
private $check_SSL;

/**
*
Expand Down
1 change: 1 addition & 0 deletions src/jsonRPCClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class jsonRPCClient
protected $url = null, $is_debug = false, $parameters_structure = 'array';
private $username;
private $password;
private $SSL;
protected $curl_options = array(
CURLOPT_CONNECTTIMEOUT => 8,
CURLOPT_TIMEOUT => 8
Expand Down
3 changes: 2 additions & 1 deletion src/subaddress.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ class subaddress
{
protected $ed25519;
protected $base58;

protected $gmp;

public function __construct()
{
$this->ed25519 = new ed25519();
Expand Down
1 change: 1 addition & 0 deletions src/walletRPC.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class walletRPC
private $url;
private $user;
private $password;
private $check_SSL;

/**
*
Expand Down

0 comments on commit c644c77

Please sign in to comment.