Skip to content

Commit 30a3e47

Browse files
committed
Fix code formatting
1 parent 350788d commit 30a3e47

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/Event/Http/Psr7Bridge.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ private static function parseBodyAndUploadedFiles(HttpRequestEvent $event): arra
111111

112112
// Parse the body as multipart/form-data
113113
$document = new Part("Content-type: $contentType\r\n\r\n" . $event->getBody());
114-
if (!$document->isMultiPart()) {
114+
if (! $document->isMultiPart()) {
115115
return [[], null];
116116
}
117117
$files = [];

tests/Event/Http/CommonHttpTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ abstract protected function assertUri(string $expected): void;
554554

555555
abstract protected function assertHasMultiHeader(bool $expected): void;
556556

557-
abstract protected function assertParsedBody(array|null $expected): void;
557+
abstract protected function assertParsedBody(array | null $expected): void;
558558

559559
abstract protected function assertSourceIp(string $expected): void;
560560

tests/Event/Http/HttpRequestEventTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ protected function assertSourceIp(string $expected): void
112112
$this->assertEquals($expected, $this->event->getSourceIp());
113113
}
114114

115-
protected function assertParsedBody(array|null $expected): void
115+
protected function assertParsedBody(array | null $expected): void
116116
{
117117
// Not applicable here since the class doesn't parse the body
118118
}

tests/Event/Http/Psr7BridgeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ protected function assertHasMultiHeader(bool $expected): void
123123
// Not applicable here
124124
}
125125

126-
protected function assertParsedBody(array|null $expected): void
126+
protected function assertParsedBody(array | null $expected): void
127127
{
128128
$this->assertEquals($expected, $this->request->getParsedBody());
129129
}

0 commit comments

Comments
 (0)