mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-20 23:31:37 +02:00
Fix deprecations (#4636)
* Fix PHP 8.4 deprecation Implicitly marking parameter as nullable is deprecated, the explicit nullable type must be used instead * [github workflow] Add additional php versions
This commit is contained in:
@@ -227,7 +227,7 @@ final class Request
|
||||
return $this->get[$key] ?? $default;
|
||||
}
|
||||
|
||||
public function server(string $key, string $default = null): ?string
|
||||
public function server(string $key, ?string $default = null): ?string
|
||||
{
|
||||
return $this->server[$key] ?? $default;
|
||||
}
|
||||
|
Reference in New Issue
Block a user