Skip to content

Commit dd16215

Browse files
StyleCI fixes
1 parent 6ce873a commit dd16215

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/Illuminate/Http/Middleware/TrustProxies.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ class TrustProxies
2020
* @var int
2121
*/
2222
protected $headers = Request::HEADER_X_FORWARDED_FOR |
23-
Request::HEADER_X_FORWARDED_HOST |
24-
Request::HEADER_X_FORWARDED_PORT |
25-
Request::HEADER_X_FORWARDED_PROTO |
26-
Request::HEADER_X_FORWARDED_PREFIX |
27-
Request::HEADER_X_FORWARDED_AWS_ELB;
23+
Request::HEADER_X_FORWARDED_HOST |
24+
Request::HEADER_X_FORWARDED_PORT |
25+
Request::HEADER_X_FORWARDED_PROTO |
26+
Request::HEADER_X_FORWARDED_PREFIX |
27+
Request::HEADER_X_FORWARDED_AWS_ELB;
2828

2929
/**
3030
* The proxies that have been configured to always be trusted.

src/Illuminate/Support/Uri.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ public function withHost(Stringable|string $host): static
195195
/**
196196
* Specify the port of the URI.
197197
*/
198-
public function withPort(int|null $port): static
198+
public function withPort(?int $port): static
199199
{
200200
return new static($this->uri->withPort($port));
201201
}

tests/Database/DatabaseEloquentInverseRelationTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ public function exposeGetPossibleInverseRelations(): array
379379
return $this->getPossibleInverseRelations();
380380
}
381381

382-
public function exposeGuessInverseRelation(): string|null
382+
public function exposeGuessInverseRelation(): ?string
383383
{
384384
return $this->guessInverseRelation();
385385
}

0 commit comments

Comments
 (0)