Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9578adc

Browse filesBrowse files
committed
Fixed tests for php5 symfony#30056
1 parent acbf944 commit 9578adc
Copy full SHA for 9578adc

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎src/Symfony/Component/PropertyInfo/Extractor/ConstructorExtractor.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/PropertyInfo/Extractor/ConstructorExtractor.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ class ConstructorExtractor implements PropertyTypeExtractorInterface
2525
private $extractors;
2626

2727
/**
28-
* @param ConstructorArgumentTypeExtractorInterface[] $extractors
28+
* @param iterable|ConstructorArgumentTypeExtractorInterface[] $extractors
2929
*/
30-
public function __construct(array $extractors)
30+
public function __construct($extractors = [])
3131
{
3232
$this->extractors = $extractors;
3333
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.