a few cleanup comments

pull/524/head
n0nag0n 1 year ago
parent a42cbfe13c
commit 2d4c7d4bcd

@ -179,7 +179,7 @@ final class Request
* Initialize request properties. * Initialize request properties.
* *
* @param array<string, mixed> $properties Array of request properties * @param array<string, mixed> $properties Array of request properties
* @return static * @return self
*/ */
public function init(array $properties = []) public function init(array $properties = [])
{ {
@ -267,7 +267,7 @@ final class Request
*/ */
public static function getProxyIpAddress(): string public static function getProxyIpAddress(): string
{ {
static $forwarded = [ $forwarded = [
'HTTP_CLIENT_IP', 'HTTP_CLIENT_IP',
'HTTP_X_FORWARDED_FOR', 'HTTP_X_FORWARDED_FOR',
'HTTP_X_FORWARDED', 'HTTP_X_FORWARDED',

@ -147,7 +147,7 @@ class Response
* @param array<string, int|string>|string $name Header name or array of names and values * @param array<string, int|string>|string $name Header name or array of names and values
* @param string|null $value Header value * @param string|null $value Header value
* *
* @return static Self reference * @return self
*/ */
public function header($name, ?string $value = null) public function header($name, ?string $value = null)
{ {

Loading…
Cancel
Save