Skip to content

Commit 1f6ed05

Browse files
authored
Merge pull request #50 from pjordaan/main
make properties protected to avoid PHP deprecation errors
2 parents 156efe2 + 5004d83 commit 1f6ed05

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Shared/BaseSession.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@
5454
abstract class BaseSession {
5555
protected bool $isInitialized = false;
5656
/** @var array<int, callable(JsonRpcMessage):void> */
57-
private array $responseHandlers = [];
57+
protected array $responseHandlers = [];
5858
/** @var callable[] */
59-
private array $requestHandlers = [];
59+
protected array $requestHandlers = [];
6060
/** @var callable[] */
61-
private array $notificationHandlers = [];
61+
protected array $notificationHandlers = [];
6262
private int $requestId = 0;
6363

6464
/**

0 commit comments

Comments
 (0)