Skip to content

Commit 6e5c0c5

Browse files
no message
1 parent 37a1dcc commit 6e5c0c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Unit/MartinGeorgiev/Doctrine/ORM/Query/AST/Functions/BaseVariadicFunctionTestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ protected function getMaxArgumentCount(): int
7171
$reflectionMethod->setAccessible(true);
7272

7373
$node = $this->createMock(Node::class);
74-
$reflectionMethod->invoke($function, $node); // No arguments
74+
$reflectionMethod->invoke($function, $node); // 1 argument when min 2 are required
7575
}
7676

7777
#[Test]
@@ -104,6 +104,6 @@ protected function getMaxArgumentCount(): int
104104
$reflectionMethod->setAccessible(true);
105105

106106
$node = $this->createMock(Node::class);
107-
$reflectionMethod->invoke($function, $node, $node, $node);
107+
$reflectionMethod->invoke($function, $node, $node, $node);; // 3 arguments when max 2 are required
108108
}
109109
}

0 commit comments

Comments
 (0)