Skip to content

Commit f89bbc1

Browse files
committed
Merge branch '5.4' into 6.3
* 5.4: fix method signatures
2 parents a44829e + 90911f1 commit f89bbc1

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
@@ -39,7 +39,7 @@ protected function setUp(): void
3939
/**
4040
* @dataProvider typesProvider
4141
*/
42-
public function testExtract($property, ?array $type = null, $shortDescription, $longDescription)
42+
public function testExtract($property, ?array $type, $shortDescription, $longDescription)
4343
{
4444
$this->assertEquals($type, $this->extractor->getTypes('Symfony\Component\PropertyInfo\Tests\Fixtures\Dummy', $property));
4545
$this->assertSame($shortDescription, $this->extractor->getShortDescription('Symfony\Component\PropertyInfo\Tests\Fixtures\Dummy', $property));

0 commit comments

Comments
 (0)