Skip to content

Commit

Permalink
ADD PSR-3 exception error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
srjlewis committed Nov 1, 2024
1 parent 25c668a commit 825e926
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/JsonRPC/Request/RequestParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class RequestParser
*/
protected $requestLogger;

protected ?LoggerInterface $psr3Logger = null;
protected ?LoggerInterface $psr3Logger;

/**
* Get new object instance
Expand Down
2 changes: 1 addition & 1 deletion src/JsonRPC/Response/ResponseBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class ResponseBuilder
*/
protected $exception;

protected ?LoggerInterface $psr3Logger = null;
protected ?LoggerInterface $psr3Logger;

/**
* Get new object instance
Expand Down
2 changes: 1 addition & 1 deletion src/JsonRPC/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class Server
*/
protected $requestLogger;

protected ?LoggerInterface $psr3Logger = null;
protected ?LoggerInterface $psr3Logger;

/**
* Constructor
Expand Down

0 comments on commit 825e926

Please sign in to comment.