We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3173174 commit 3823705Copy full SHA for 3823705
src/Integration/EnvironmentService.php
@@ -173,11 +173,7 @@ public function registerCodecMatcher(CodecMatcherInterface $codecMatcher)
173
->checkHeaders($this->parameters);
174
175
$this->encoder = $codecMatcher->getEncoder();
176
- $this->encoderMediaType = $codecMatcher->getEncoderHeaderMatchedType();
177
-
178
- if (!$this->encoderMediaType) {
179
- $this->encoderMediaType = $codecMatcher->getEncoderRegisteredMatchedType();
180
- }
+ $this->encoderMediaType = $codecMatcher->getEncoderRegisteredMatchedType();
181
182
$this->decoder = $codecMatcher->getDecoder();
183
$this->decoderMediaType = $codecMatcher->getDecoderHeaderMatchedType();
0 commit comments