Skip to content

Commit

Permalink
Merge pull request #307 from hedali1997/master
Browse files Browse the repository at this point in the history
fix: creation of dynamic property on php8.2
  • Loading branch information
marcosmarcolin authored Nov 8, 2024
2 parents c9fa2e5 + f97736e commit b074c56
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Engine/Protocols/Http/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ class Request

public $_query = null;

public $res = null;

public $cleanup = null;

public function __construct($connection, $raw_head)
{
$this->connection = $connection;
Expand Down
2 changes: 2 additions & 0 deletions src/Engine/Transports/PollingXHR.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

class PollingXHR extends Polling
{
public $sid = null;

public function __construct()
{
Debug::debug('PollingXHR __construct');
Expand Down
3 changes: 3 additions & 0 deletions src/Socket.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ class Socket extends Emitter
public $handshake = [];
public $userId = null;
public $isGuest = false;
public $addedUser = null;
public $username = null;


public static $events = [
'error' => 'error',
Expand Down

0 comments on commit b074c56

Please sign in to comment.