Skip to content

Commit 4c6bfdc

Browse files
committed
Fix "Creation of dynamic property" warnings in PHP 8.2
1 parent ab76770 commit 4c6bfdc

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

src/main/php/peer/CryptoSocket.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
class CryptoSocket extends Socket {
1212
const CTX_WRP = 'ssl'; // stream context option key
1313

14-
protected $crpytoImpl= null;
14+
public $cryptoImpl= null;
1515

1616
/**
1717
* Constructor

src/main/php/peer/net/Inet4Address.class.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @see php://ip2long
1010
*/
1111
class Inet4Address implements InetAddress {
12+
private $addr;
1213

1314
/**
1415
* Convert IPv4 address from dotted form into a long. Supports hexadecimal and

src/main/php/peer/net/Network.class.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* Represent IP network
88
*/
99
class Network implements Value {
10+
private $address, $netmask;
1011

1112
/**
1213
* Constructor

0 commit comments

Comments
 (0)