mirror of
https://github.com/openvk/openvk
synced 2025-03-04 00:29:57 +03:00
fix(VKAPIRequestHandler): set fail's return type as never
This commit is contained in:
parent
b74775fcf5
commit
ac87ab52e6
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ abstract class VKAPIRequestHandler
|
||||||
$this->platform = $platform;
|
$this->platform = $platform;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function fail(int $code, string $message): void
|
protected function fail(int $code, string $message): never
|
||||||
{
|
{
|
||||||
throw new APIErrorException($message, $code);
|
throw new APIErrorException($message, $code);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue