Skip to content

Commit fb6ff9a

Browse files
committed
Add undectected missing trailing commas
1 parent 75d434d commit fb6ff9a

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/Operation/Watch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ public function execute(Server $server)
314314
{
315315
return new ChangeStream(
316316
$this->createChangeStreamIterator($server),
317-
fn ($resumeToken, $hasAdvanced): ChangeStreamIterator => $this->resume($resumeToken, $hasAdvanced)
317+
fn ($resumeToken, $hasAdvanced): ChangeStreamIterator => $this->resume($resumeToken, $hasAdvanced),
318318
);
319319
}
320320

tests/Collection/CollectionFunctionalTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -705,15 +705,15 @@ public function collectionReadMethodClosures(): array
705705
{
706706
return array_filter(
707707
$this->collectionMethodClosures(),
708-
fn ($rw) => str_contains($rw[1], 'r')
708+
fn ($rw) => str_contains($rw[1], 'r'),
709709
);
710710
}
711711

712712
public function collectionWriteMethodClosures(): array
713713
{
714714
return array_filter(
715715
$this->collectionMethodClosures(),
716-
fn ($rw) => str_contains($rw[1], 'w')
716+
fn ($rw) => str_contains($rw[1], 'w'),
717717
);
718718
}
719719

tests/GridFS/ReadableStreamFunctionalTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public function provideFilteredFileIdAndExpectedBytes()
115115
{
116116
return array_filter(
117117
$this->provideFileIdAndExpectedBytes(),
118-
fn (array $args) => $args[1] > 0
118+
fn (array $args) => $args[1] > 0,
119119
);
120120
}
121121

tests/PedantryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function (ReflectionMethod $method) use ($class) {
5555
$sortedMethods = $methods;
5656
usort(
5757
$sortedMethods,
58-
fn (ReflectionMethod $a, ReflectionMethod $b) => strcasecmp($getSortValue($a), $getSortValue($b))
58+
fn (ReflectionMethod $a, ReflectionMethod $b) => strcasecmp($getSortValue($a), $getSortValue($b)),
5959
);
6060

6161
$methods = array_map(fn (ReflectionMethod $method) => $method->getName(), $methods);

0 commit comments

Comments
 (0)