Allow 3rd argument to be null

This commit is contained in:
Mantis Development 2019-03-04 22:34:28 +00:00
parent 04dc6921bd
commit 8e401afa37
No known key found for this signature in database
GPG Key ID: 29967EA449106805

View File

@ -297,7 +297,7 @@ class ReflectionExtractorTest extends TestCase
/**
* @dataProvider constructorTypesProvider
*/
public function testExtractTypeConstructor(string $class, string $property, array $type)
public function testExtractTypeConstructor(string $class, string $property, array $type = null)
{
/* Check that constructor extractions works by default, and if passed in via context.
Check that null is returned if constructor extraction is disabled */