src/Valkyrja/HttpMessage/MessageTrait.php
protected function assertHeaderValues(string ...$values): array
    {
        foreach ($values as $value) {
            HeaderSecurity::assertValid($value);
        }

        return $values;
    }
protected function assertHeaderValues(string ...$values): array
    {
        foreach ($values as $value) {
            HeaderSecurity::assertValid($value);
        }

        return $values;
    }
Filter header values.

@param string[] ...$values Header values

@throws \InvalidArgumentException

@return string[]