From 6ad016ca953f93cc4566fb0f3881e78b856f2f2c Mon Sep 17 00:00:00 2001 From: Jakub Zalas Date: Mon, 6 Apr 2020 11:48:26 +0100 Subject: [PATCH] Update the method definition to match the one in updated phpunit --- src/TestCase/TestDoubles.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TestCase/TestDoubles.php b/src/TestCase/TestDoubles.php index c04fe9e..08f0088 100644 --- a/src/TestCase/TestDoubles.php +++ b/src/TestCase/TestDoubles.php @@ -15,7 +15,7 @@ trait TestDoubles { abstract public function getMockBuilder(string $className): MockBuilder; - abstract protected function prophesize($classOrInterface = null): ObjectProphecy; + abstract protected function prophesize(?string $classOrInterface = null): ObjectProphecy; /** * @before