Update ReflectionExtractorTest.php

This commit is contained in:
Mantis Development 2019-02-23 17:26:47 +00:00 committed by Paul Richards
parent 5acc85c48b
commit 2c91c754bc
No known key found for this signature in database
GPG Key ID: 29967EA449106805

View File

@ -302,7 +302,7 @@ class ReflectionExtractorTest extends TestCase
// check that constructor extractions works by default, and if passed in via context. Check that null is returned if constructor extraction is disabled
$this->assertEquals($type, $this->extractor->getTypes($class, $property, []));
$this->assertEquals($type, $this->extractor->getTypes($class, $property, ['enable_constructor_extraction' => true]));
$this->assertEquals( null, $this->extractor->getTypes($class, $property, ['enable_constructor_extraction' => false]));
$this->assertNull($this->extractor->getTypes($class, $property, ['enable_constructor_extraction' => false]));
}
public function ConstructorTypesProvider(): array