Skip to content

Commit

Permalink
Fix style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Hectorhammett committed Nov 11, 2024
1 parent 706982b commit 658b118
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/HttpHandler/HttpHandlerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ class HttpHandlerFactory
public static function build(
?ClientInterface $client = null,
null|false|LoggerInterface $logger = null,
)
{
) {
if (is_null($client)) {
$stack = null;
if (class_exists(BodySummarizer::class)) {
Expand Down
2 changes: 1 addition & 1 deletion tests/HttpHandler/Guzzle7HttpHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function setUp(): void

public function testLoggerGetsCalledIfLoggerIsPassed()
{
$requestPromise = new Promise(function() use (&$requestPromise) {
$requestPromise = new Promise(function () use (&$requestPromise) {
$response = new Response(200);
$requestPromise->resolve($response);
});
Expand Down
2 changes: 1 addition & 1 deletion tests/Logging/StdOutLoggerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function testLoggingOnSameLevelWritesToStdOut()
public function testLoggingOnHigherLeverWritesToStdOut()
{
$expectedString = 'test';
$this->expectOutputString($expectedString. "\n");
$this->expectOutputString($expectedString . "\n");

$logger = new StdOutLogger(LogLevel::WARNING);
$logger->error($expectedString);
Expand Down

0 comments on commit 658b118

Please sign in to comment.