refactored code

Signed-off-by: Maurice Preuß (envoyr) <hello@envoyr.com>
This commit is contained in:
2025-04-30 03:45:10 +02:00
parent 85702fcb2c
commit 4b23f6ddbb
42 changed files with 1139 additions and 594 deletions

View File

@@ -179,7 +179,7 @@ class Result
/**
* Rate limit info from headers
*/
public function rateLimit(string $key = null): array|int|string|null
public function rateLimit(?string $key = null): array|int|string|null
{
if (!$this->response) {
return null;