Skip to content

Commit 90911f1

Browse files
committed
minor symfony#53613 [PropertyInfo][WebProfilerBundle] fix method signatures (xabbuh)
This PR was merged into the 5.4 branch. Discussion ---------- [PropertyInfo][WebProfilerBundle] fix method signatures | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT Commits ------- d5a001e fix method signatures
2 parents 2a31f2d + d5a001e commit 90911f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Bundle/WebProfilerBundle/Controller/RouterController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class RouterController
4040
*/
4141
private $expressionLanguageProviders = [];
4242

43-
public function __construct(?Profiler $profiler = null, Environment $twig, ?UrlMatcherInterface $matcher = null, ?RouteCollection $routes = null, iterable $expressionLanguageProviders = [])
43+
public function __construct(?Profiler $profiler, Environment $twig, ?UrlMatcherInterface $matcher = null, ?RouteCollection $routes = null, iterable $expressionLanguageProviders = [])
4444
{
4545
$this->profiler = $profiler;
4646
$this->twig = $twig;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ protected function setUp(): void
4141
/**
4242
* @dataProvider typesProvider
4343
*/
44-
public function testExtract($property, ?array $type = null, $shortDescription, $longDescription)
44+
public function testExtract($property, ?array $type, $shortDescription, $longDescription)
4545
{
4646
$this->assertEquals($type, $this->extractor->getTypes('Symfony\Component\PropertyInfo\Tests\Fixtures\Dummy', $property));
4747
$this->assertSame($shortDescription, $this->extractor->getShortDescription('Symfony\Component\PropertyInfo\Tests\Fixtures\Dummy', $property));

0 commit comments

Comments
 (0)