Fix docblock param

This commit is contained in:
Matt Bonneau 2020-05-14 11:12:45 -04:00
parent d9df3419ba
commit 17ffb941fd

View File

@ -119,10 +119,10 @@ class RequestVerifier {
/** /**
* Verify the version passed matches this RFC * Verify the version passed matches this RFC
* @param string|int $versionHeader MUST equal 13|"13" * @param string[] $versionHeader MUST equal ["13"]
* @return bool * @return bool
*/ */
public function verifyVersion($versionHeader) { public function verifyVersion(array $versionHeader) {
return (1 === count($versionHeader) && static::VERSION === (int)$versionHeader[0]); return (1 === count($versionHeader) && static::VERSION === (int)$versionHeader[0]);
} }