File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ abstract class TestCase extends \PHPUnit\Framework\TestCase
52
52
protected function mockConstraint (
53
53
$ constraint ,
54
54
array $ invocationRules = [],
55
- array $ evaluateParameters = null
55
+ ? array $ evaluateParameters = null
56
56
) {
57
57
if (!($ constraint instanceof Constraint)) {
58
58
return $ constraint ;
Original file line number Diff line number Diff line change @@ -450,7 +450,7 @@ public function dataProviderArrayHasItemWithFail(): array
450
450
private function mockConstraintInstance (
451
451
string $ className ,
452
452
array $ constructorArguments = [],
453
- array $ evaluateArguments = null
453
+ ? array $ evaluateArguments = null
454
454
): MockInterface {
455
455
$ instanceMock = Mockery::mock ('overload: ' . $ className , Constraint::class);
456
456
You can’t perform that action at this time.
0 commit comments