Skip to content
This repository was archived by the owner on Feb 28, 2025. It is now read-only.

Commit f28349f

Browse files
committed
Fix checkstyle errors
1 parent 229cba7 commit f28349f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Builder/Encoder/OutputWindowEncoder.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414

1515
use function array_key_first;
1616
use function get_debug_type;
17-
use function is_array;
18-
use function is_object;
1917
use function MongoDB\is_first_key_operator;
2018
use function sprintf;
2119

@@ -42,6 +40,7 @@ public function encode(mixed $value): stdClass
4240
if (! $value->operator instanceof WindowInterface) {
4341
if (! is_first_key_operator($result)) {
4442
$firstKey = array_key_first((array) $result);
43+
4544
throw new LogicException(sprintf('Expected OutputWindow::$operator to be an operator. Got "%s"', $firstKey ?? 'null'));
4645
}
4746

0 commit comments

Comments
 (0)