diff --git a/src/Header/AbstractAccept.php b/src/Header/AbstractAccept.php index c9f603ff50..cb57231754 100644 --- a/src/Header/AbstractAccept.php +++ b/src/Header/AbstractAccept.php @@ -151,7 +151,8 @@ protected function parseFieldValuePart($fieldValuePart) /** * Parse the keys contained in the header line * - * @param string mediaType + * @param string $fieldValuePart + * @return array */ protected function getParametersFromFieldValuePart($fieldValuePart) { diff --git a/src/Header/CacheControl.php b/src/Header/CacheControl.php index 076b330202..24e5a275ca 100644 --- a/src/Header/CacheControl.php +++ b/src/Header/CacheControl.php @@ -223,6 +223,7 @@ protected static function parseValue($value) * @param array $tokens * @param string $string * @param string $lastMatch + * @return int */ protected static function match($tokens, &$string, &$lastMatch) {