Allow 3rd argument to be null
This commit is contained in:
parent
04dc6921bd
commit
8e401afa37
@ -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 */
|
||||
|
Reference in New Issue
Block a user