From 8e401afa37227bb111860dfced92a1e87d489de7 Mon Sep 17 00:00:00 2001 From: Mantis Development Date: Mon, 4 Mar 2019 22:34:28 +0000 Subject: [PATCH] Allow 3rd argument to be null --- .../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 f46b021985..709ef93c55 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) + 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 */