We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 542215a commit 43614f1Copy full SHA for 43614f1
2 files changed
tests/TestCase.php
@@ -52,7 +52,7 @@ abstract class TestCase extends \PHPUnit\Framework\TestCase
52
protected function mockConstraint(
53
$constraint,
54
array $invocationRules = [],
55
- array $evaluateParameters = null
+ ?array $evaluateParameters = null
56
) {
57
if (!($constraint instanceof Constraint)) {
58
return $constraint;
tests/Unit/ArrayAssertsTraitTest.php
@@ -450,7 +450,7 @@ public function dataProviderArrayHasItemWithFail(): array
450
private function mockConstraintInstance(
451
string $className,
452
array $constructorArguments = [],
453
- array $evaluateArguments = null
+ ?array $evaluateArguments = null
454
): MockInterface {
455
$instanceMock = Mockery::mock('overload:' . $className, Constraint::class);
456
0 commit comments