Skip to content

Commit

Permalink
Fix CS after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jan 4, 2025
1 parent fa54bd1 commit c08cd8e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/Symfony/MessageMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ final class MessageMap
{

/** @var array<string, Type> */
private $messageMap;
private array $messageMap;

/** @param array<string, Type> $messageMap */
public function __construct(array $messageMap)
Expand Down
6 changes: 2 additions & 4 deletions src/Symfony/MessageMapFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@ final class MessageMapFactory
private const MESSENGER_HANDLER_TAG = 'messenger.message_handler';
private const DEFAULT_HANDLER_METHOD = '__invoke';

/** @var ReflectionProvider */
private $reflectionProvider;
private ReflectionProvider $reflectionProvider;

/** @var ServiceMap */
private $serviceMap;
private ServiceMap $serviceMap;

public function __construct(ServiceMap $symfonyServiceMap, ReflectionProvider $reflectionProvider)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ final class Service implements ServiceDefinition
private ?string $alias = null;

/** @var ServiceTag[] */
private $tags;
private array $tags;

/** @param ServiceTag[] $tags */
public function __construct(
Expand Down
5 changes: 2 additions & 3 deletions src/Symfony/ServiceTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@
final class ServiceTag implements ServiceTagDefinition
{

/** @var string */
private $name;
private string $name;

/** @var array<string, string> */
private $attributes;
private array $attributes;

/** @param array<string, string> $attributes */
public function __construct(string $name, array $attributes = [])
Expand Down
6 changes: 2 additions & 4 deletions src/Type/Symfony/MessengerHandleTraitReturnTypeExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,9 @@ final class MessengerHandleTraitReturnTypeExtension implements ExpressionTypeRes
private const TRAIT_NAME = 'Symfony\Component\Messenger\HandleTrait';
private const TRAIT_METHOD_NAME = 'handle';

/** @var MessageMapFactory */
private $messageMapFactory;
private MessageMapFactory $messageMapFactory;

/** @var MessageMap|null */
private $messageMap;
private ?MessageMap $messageMap = null;

public function __construct(MessageMapFactory $symfonyMessageMapFactory)
{
Expand Down

0 comments on commit c08cd8e

Please sign in to comment.