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

Sign up
Appearance settings

Commit c08cd8e

Browse files
Fix CS after merge
1 parent fa54bd1 commit c08cd8e

File tree

5 files changed

+8
-13
lines changed

5 files changed

+8
-13
lines changed

‎src/Symfony/MessageMap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ final class MessageMap
88
{
99

1010
/** @var array<string, Type> */
11-
private $messageMap;
11+
private array$messageMap;
1212

1313
/** @param array<string, Type> $messageMap */
1414
public function __construct(array $messageMap)

‎src/Symfony/MessageMapFactory.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,9 @@ final class MessageMapFactory
1717
private const MESSENGER_HANDLER_TAG = 'messenger.message_handler';
1818
private const DEFAULT_HANDLER_METHOD = '__invoke';
1919

20-
/** @var ReflectionProvider */
21-
private $reflectionProvider;
20+
private ReflectionProvider $reflectionProvider;
2221

23-
/** @var ServiceMap */
24-
private $serviceMap;
22+
private ServiceMap $serviceMap;
2523

2624
public function __construct(ServiceMap $symfonyServiceMap, ReflectionProvider $reflectionProvider)
2725
{

‎src/Symfony/Service.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ final class Service implements ServiceDefinition
1616
private ?string $alias = null;
1717

1818
/** @var ServiceTag[] */
19-
private $tags;
19+
private array$tags;
2020

2121
/** @param ServiceTag[] $tags */
2222
public function __construct(

‎src/Symfony/ServiceTag.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@
55
final class ServiceTag implements ServiceTagDefinition
66
{
77

8-
/** @var string */
9-
private $name;
8+
private string $name;
109

1110
/** @var array<string, string> */
12-
private $attributes;
11+
private array$attributes;
1312

1413
/** @param array<string, string> $attributes */
1514
public function __construct(string $name, array $attributes = [])

‎src/Type/Symfony/MessengerHandleTraitReturnTypeExtension.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,9 @@ final class MessengerHandleTraitReturnTypeExtension implements ExpressionTypeRes
1919
private const TRAIT_NAME = 'Symfony\Component\Messenger\HandleTrait';
2020
private const TRAIT_METHOD_NAME = 'handle';
2121

22-
/** @var MessageMapFactory */
23-
private $messageMapFactory;
22+
private MessageMapFactory $messageMapFactory;
2423

25-
/** @var MessageMap|null */
26-
private $messageMap;
24+
private ?MessageMap $messageMap = null;
2725

2826
public function __construct(MessageMapFactory $symfonyMessageMapFactory)
2927
{

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /