From c2986d5e4047f4cc79822a70d57d86d2eec0b657 Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Sat, 23 Feb 2019 17:54:02 +0000 Subject: [PATCH] Update src/Symfony/Component/PropertyInfo/Tests/Extractor/ReflectionExtractorTest.php Co-Authored-By: mantis --- .../PropertyInfo/Tests/Extractor/ReflectionExtractorTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/PropertyInfo/Tests/Extractor/ReflectionExtractorTest.php b/src/Symfony/Component/PropertyInfo/Tests/Extractor/ReflectionExtractorTest.php index 18d74e993e..77d76f2cfe 100644 --- a/src/Symfony/Component/PropertyInfo/Tests/Extractor/ReflectionExtractorTest.php +++ b/src/Symfony/Component/PropertyInfo/Tests/Extractor/ReflectionExtractorTest.php @@ -297,7 +297,7 @@ class ReflectionExtractorTest extends TestCase /** * @dataProvider constructorTypesProvider */ - public function testExtractTypeConstructor(string $class, string $property, array $type = null) + public function testExtractTypeConstructor(string $class, string $property, array $type) { // 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, []));