We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28f7983 commit 9309f4eCopy full SHA for 9309f4e
test/MessageTraitTest.php
@@ -314,11 +314,9 @@ public function invalidHeaderValueTypes()
314
315
public function invalidArrayHeaderValues()
316
{
317
- yield 'array' => [['INVALID']];
318
-
319
- foreach ($this->invalidHeaderValueTypes() as $type => $args) {
320
- yield $type => $args;
321
- }
+ $values = $this->invalidHeaderValueTypes();
+ $values['array'] = [['INVALID']];
+ return $values;
322
}
323
324
/**
0 commit comments