chore: Аннотации к типам

This commit is contained in:
origami11@yandex.ru 2025-10-28 16:32:00 +03:00
parent 386a927254
commit 245b5c6c19
18 changed files with 191 additions and 104 deletions

View file

@ -30,7 +30,7 @@ class HttpResponse
/**
* Обработка HTTP ответа
*/
private function parseMessage()
private function parseMessage(): void
{
$http = explode(" ", $this->getLine());
$this->version = $http[0];
@ -72,6 +72,7 @@ class HttpResponse
/**
* Значение параметра HTTP ответа
* @param string $name Имя параметра
*/
public function getParameter($name): string
{