Skip to content

Commit

Permalink
Adapt to PHPUnit 12 API change
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jan 16, 2025
1 parent 408395c commit 07f683f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/MockObjectComparatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ private static function createMockForComparatorTest(string $type, array $constru
{
$generator = new Generator;

$mockObject = $generator->testDouble($type, true, true, null, $constructorArguments);
$mockObject = $generator->testDouble($type, true, [], $constructorArguments);

assert($mockObject instanceof MockObject);
assert($mockObject instanceof $type);
Expand Down

0 comments on commit 07f683f

Please sign in to comment.