Skip to content

Commit

Permalink
fix: Rector code style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
notz committed Jun 14, 2024
1 parent 3a3de39 commit 71ea7a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Config/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;

return function (ContainerConfigurator $configurator) {
return function (ContainerConfigurator $configurator): void {
$services = $configurator->services()
->defaults()
->autowire()
Expand Down
15 changes: 1 addition & 14 deletions EventSubscriber/CallbackSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,7 @@

class CallbackSubscriber implements EventSubscriberInterface
{
private LoggerInterface $logger;

private TransportCallback $transportCallback;

private CoreParametersHelper $coreParametersHelper;

public function __construct(
LoggerInterface $logger,
TransportCallback $transportCallback,
CoreParametersHelper $coreParametersHelper
) {
$this->logger = $logger;
$this->transportCallback = $transportCallback;
$this->coreParametersHelper = $coreParametersHelper;
public function __construct(private LoggerInterface $logger, private TransportCallback $transportCallback, private CoreParametersHelper $coreParametersHelper)
}

/**
Expand Down

0 comments on commit 71ea7a5

Please sign in to comment.