Skip to content

Commit 59b6622

Browse files
committed
Fixed CS issue
1 parent 6449e08 commit 59b6622

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/Elasticsearch/Tests/Connections/ConnectionTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -491,11 +491,11 @@ public function testPortInUrlWhenLogRequestSuccess()
491491
];
492492
$connection->logRequestSuccess($request, $response);
493493
// Check for localhost:9200 in trace
494-
foreach($trace->output as $row) {
494+
foreach ($trace->output as $row) {
495495
$this->assertStringContainsString('localhost:9200', $row);
496496
}
497497
// Check for localhost:9200 in logger
498-
foreach($logger->output as $row) {
498+
foreach ($logger->output as $row) {
499499
if (false !== strpos('info: Request Success', $row)) {
500500
$this->assertStringContainsString('localhost:9200', $row);
501501
}
@@ -539,11 +539,11 @@ public function testPortInLogUrlWhenLogRequestFail()
539539
$connection->logRequestFail($request, $response, new Exception());
540540

541541
// Check for localhost:9200 in trace
542-
foreach($trace->output as $row) {
542+
foreach ($trace->output as $row) {
543543
$this->assertStringContainsString('localhost:9200', $row);
544544
}
545545
// Check for localhost:9200 in logger
546-
foreach($logger->output as $row) {
546+
foreach ($logger->output as $row) {
547547
if (false !== strpos('warning: Request Failure:', $row)) {
548548
$this->assertStringContainsString('localhost:9200', $row);
549549
}

0 commit comments

Comments
 (0)