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 e1fae2c

Browse filesBrowse files
committed
Merge branch '5.3' into 5.4
* 5.3: Remove duplicated array entry qa: add missing type-hints to workflow `Transition` Declare returned type.
2 parents 1834a4d + ba658be commit e1fae2c
Copy full SHA for e1fae2c

File tree

3 files changed

+10
-2
lines changed
Filter options

3 files changed

+10
-2
lines changed

‎src/Symfony/Component/EventDispatcher/EventSubscriberInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/EventDispatcher/EventSubscriberInterface.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ interface EventSubscriberInterface
4343
* The code must not depend on runtime state as it will only be called at compile time.
4444
* All logic depending on runtime state must be put into the individual methods handling the events.
4545
*
46-
* @return array The event names to listen to
46+
* @return array<string, mixed> The event names to listen to
4747
*/
4848
public static function getSubscribedEvents();
4949
}

‎src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTimeTypeTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTimeTypeTest.php
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,6 @@ public function testSingleTextWidgetWithSecondsShouldNotOverrideStepAttribute()
523523
public function testSingleTextWidgetWithCustomNonHtml5Format()
524524
{
525525
$form = $this->factory->create(static::TESTED_TYPE, new \DateTime('2019-02-13 19:12:13'), [
526-
'html5' => false,
527526
'widget' => 'single_text',
528527
'date_format' => \IntlDateFormatter::SHORT,
529528
'format' => null,

‎src/Symfony/Component/Workflow/Transition.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Workflow/Transition.php
+9Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,25 @@ public function __construct(string $name, $froms, $tos)
3232
$this->tos = (array) $tos;
3333
}
3434

35+
/**
36+
* @return string
37+
*/
3538
public function getName()
3639
{
3740
return $this->name;
3841
}
3942

43+
/**
44+
* @return string[]
45+
*/
4046
public function getFroms()
4147
{
4248
return $this->froms;
4349
}
4450

51+
/**
52+
* @return string[]
53+
*/
4554
public function getTos()
4655
{
4756
return $this->tos;

0 commit comments

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