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
5252 protected function mockConstraint (
5353 $ constraint ,
5454 array $ invocationRules = [],
55- array $ evaluateParameters = null
55+ ? array $ evaluateParameters = null
5656 ) {
5757 if (!($ constraint instanceof Constraint)) {
5858 return $ constraint ;
Original file line number Diff line number Diff line change @@ -450,7 +450,7 @@ public function dataProviderArrayHasItemWithFail(): array
450450 private function mockConstraintInstance (
451451 string $ className ,
452452 array $ constructorArguments = [],
453- array $ evaluateArguments = null
453+ ? array $ evaluateArguments = null
454454 ): MockInterface {
455455 $ instanceMock = Mockery::mock ('overload: ' . $ className , Constraint::class);
456456
You can’t perform that action at this time.
0 commit comments