diff --git a/src/JsonRPC/Request/RequestParser.php b/src/JsonRPC/Request/RequestParser.php index 48d94e0..b468a0d 100644 --- a/src/JsonRPC/Request/RequestParser.php +++ b/src/JsonRPC/Request/RequestParser.php @@ -65,7 +65,7 @@ class RequestParser */ protected $requestLogger; - protected ?LoggerInterface $psr3Logger = null; + protected ?LoggerInterface $psr3Logger; /** * Get new object instance diff --git a/src/JsonRPC/Response/ResponseBuilder.php b/src/JsonRPC/Response/ResponseBuilder.php index fb7a21e..be960bf 100644 --- a/src/JsonRPC/Response/ResponseBuilder.php +++ b/src/JsonRPC/Response/ResponseBuilder.php @@ -88,7 +88,7 @@ class ResponseBuilder */ protected $exception; - protected ?LoggerInterface $psr3Logger = null; + protected ?LoggerInterface $psr3Logger; /** * Get new object instance diff --git a/src/JsonRPC/Server.php b/src/JsonRPC/Server.php index 2b98e89..289ef5b 100644 --- a/src/JsonRPC/Server.php +++ b/src/JsonRPC/Server.php @@ -126,7 +126,7 @@ class Server */ protected $requestLogger; - protected ?LoggerInterface $psr3Logger = null; + protected ?LoggerInterface $psr3Logger; /** * Constructor