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 1fc3fa8 commit ec0490aCopy full SHA for ec0490a
HeaderTrait.php
@@ -205,9 +205,7 @@ protected function normalizeHeaderName(string $name): string
205
*/
206
protected function normalizeHeaderValue(string $name, mixed $value): array
207
{
208
-// if (false === \is_array($value)) {
209
- $value = (array)$value;
210
-// }
+ $value = (array)$value;
211
try {
212
if (empty($value = \array_map(fn($v): string => \trim(\preg_replace('/\s+/', ' ', $v)), $value))) {
213
throw new \InvalidArgumentException(
0 commit comments