From 1a7523b751c50fe41a6c8f0db90b99cb4a4985f7 Mon Sep 17 00:00:00 2001 From: Hector Mendoza Jacobo Date: Thu, 5 Dec 2024 00:20:40 +0000 Subject: [PATCH] Fix Style --- src/HttpHandler/Guzzle6HttpHandler.php | 2 +- tests/Logging/LoggingTraitTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/HttpHandler/Guzzle6HttpHandler.php b/src/HttpHandler/Guzzle6HttpHandler.php index 428758ed3..0357c6eea 100644 --- a/src/HttpHandler/Guzzle6HttpHandler.php +++ b/src/HttpHandler/Guzzle6HttpHandler.php @@ -41,7 +41,7 @@ class Guzzle6HttpHandler * @param ClientInterface $client * @param null|LoggerInterface $logger */ - public function __construct(ClientInterface $client, LoggerInterface $logger = null) + public function __construct(ClientInterface $client, ?LoggerInterface $logger = null) { $this->client = $client; $this->logger = $logger; diff --git a/tests/Logging/LoggingTraitTest.php b/tests/Logging/LoggingTraitTest.php index de15b2549..a3f515d71 100644 --- a/tests/Logging/LoggingTraitTest.php +++ b/tests/Logging/LoggingTraitTest.php @@ -69,7 +69,7 @@ public function testRequestWithoutJwtShouldNotPrintAJwt() public function testLogResponse() { $event = $this->getNewLogEvent(); - $event->headers = ['Thisis' => "a header"]; + $event->headers = ['Thisis' => 'a header']; $this->loggerContainer->logResponseEvent($event); $buffer = $this->getActualOutput();