minor #30880 minor: remove the logger as it seems uneeded (Simperfit)

This PR was merged into the 4.3-dev branch.

Discussion
----------

minor: remove the logger as it seems uneeded

| Q             | A
| ------------- | ---
| Branch?       | master for features
| Bug fix?      | no
| New feature?  | no <!-- don't forget to update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | none  <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | not needed
<!--
Write a short README entry for your feature/bugfix here (replace this comment block.)
This will help people understand your PR and can be used as a start of the Doc PR.
Additionally:
 - Bug fixes must be submitted against the lowest branch where they apply
   (lowest branches are regularly merged to upper ones so they get the fixes too).
 - Features and deprecations must be submitted against the master branch.
-->

It seems that the logger is not used in here cc @nicolas-grekas, to close if it's the wanted code.
#euchackaton

Commits
-------

4fc603327d minor: remove the logger as it seems uneeded
This commit is contained in:
Fabien Potencier 2019-04-06 11:28:56 +02:00
commit a45235e4b6

View File

@ -46,7 +46,7 @@ class CachingHttpClient implements HttpClientInterface
}
$this->client = $client;
$kernel = new HttpClientKernel($client, $logger);
$kernel = new HttpClientKernel($client);
$this->cache = new HttpCache($kernel, $store, null, $defaultOptions);
unset($defaultOptions['debug']);