Fix docblock param
This commit is contained in:
parent
d9df3419ba
commit
17ffb941fd
@ -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]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user