* test: refactor test suite

* docs

* refactor

* yup

* docs
This commit is contained in:
Dag 2023-10-01 19:23:30 +02:00 committed by GitHub
parent 0c92cf32d4
commit 41df17bc46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 309 additions and 566 deletions

View file

@ -211,12 +211,12 @@ final class Response
}
}
public function getBody()
public function getBody(): string
{
return $this->body;
}
public function getCode()
public function getCode(): int
{
return $this->code;
}
@ -226,7 +226,7 @@ final class Response
return self::STATUS_CODES[$this->code] ?? '';
}
public function getHeaders()
public function getHeaders(): array
{
return $this->headers;
}