8000 Update src/Symfony/Component/PropertyInfo/Tests/Extractor/ReflectionE… · symfony/symfony@c2986d5 · GitHub
[go: up one dir, main page]

Skip to content

Commit c2986d5

Browse files
OskarStarkmantis
andcommitted
Update src/Symfony/Component/PropertyInfo/Tests/Extractor/ReflectionExtractorTest.php
Co-Authored-By: mantis <mantis@users.noreply.github.com>
1 parent 42995c8 commit c2986d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/PropertyInfo/Tests/Extractor/ReflectionExtractorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ public function getInitializableProperties(): array
297297
/**
298298
* @dataProvider constructorTypesProvider
299299
*/
300-
public function testExtractTypeConstructor(string $class, string $property, array $type = null)
300+
public function testExtractTypeConstructor(string $class, string $property, array $type)
301301
{
302302
// check that constructor extractions works by default, and if passed in via context. Check that null is returned if constructor extraction is disabled
303303
$this->assertEquals($type, $this->extractor->getTypes($class, $property, []));

0 commit comments

Comments
 (0)
0