Skip to content

Commit 963904b

Browse files
committed
Fix style
1 parent b352336 commit 963904b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/WebsocketClientTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ public function testStreamMultipleChunks(): void
268268

269269
public function testStreamWithInterleavedControlFrames(): void
270270
{
271-
$packets = \array_map(fn(string $packet) => [$packet], [
271+
$packets = \array_map(fn (string $packet) => [$packet], [
272272
compile(WebsocketFrameType::Text, false, false, 'chunk1'),
273273
compile(WebsocketFrameType::Continuation, false, false, 'chunk2'),
274274
compile(WebsocketFrameType::Ping, false, true, "1"),
@@ -279,7 +279,7 @@ public function testStreamWithInterleavedControlFrames(): void
279279

280280
$socket = $this->createSocket();
281281
$future = new DeferredFuture();
282-
$socket->expects($this->any())->method("read")->willReturnCallback(function() use ($future) {
282+
$socket->expects($this->any())->method("read")->willReturnCallback(function () use ($future) {
283283
$future->getFuture()->await();
284284
});
285285
$socket->expects($this->atLeastOnce())

0 commit comments

Comments
 (0)