mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-03 17:44:48 +02:00
refactor (#3712)
* test: refactor test suite * docs * refactor * yup * docs
This commit is contained in:
parent
0c92cf32d4
commit
41df17bc46
23 changed files with 309 additions and 566 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue