phpdoc should be `HeaderFieldValuesInterface[]` then instead of `array`.