Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
# Conflicts:
#	composer.json
  • Loading branch information
ehunov committed Aug 13, 2022
2 parents d2c8425 + 833f5dc commit c46b81f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/ClientFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ class ClientFactory
protected array $configuration;

public function __construct(array $configuration) {
var_export($configuration);
$this->configuration = $configuration;
}

Expand Down
2 changes: 0 additions & 2 deletions src/DependencyInjection/GoogleApiExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,5 @@ public function load(array $configs, ContainerBuilder $container)
$container->getDefinition('DoubleStarSystems\Bundle\GoogleApiBundle\ClientFactory')
->setArguments([$config])
;
$command = $container->getDefinition('DoubleStarSystems\Bundle\GoogleApiBundle\Command\CreateTokenCommand');
$command->setArgument('$configuration', $config);
}
}
5 changes: 0 additions & 5 deletions src/Resources/config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,3 @@ services:
Google\Client:
factory: ['@DoubleStarSystems\Bundle\GoogleApiBundle\ClientFactory', createClient]
arguments: []

DoubleStarSystems\Bundle\GoogleApiBundle\Command\CreateTokenCommand:
arguments:
'$client': '@Google\Client'
tags: ['console.command']

0 comments on commit c46b81f

Please sign in to comment.