@@ -38,8 +38,8 @@ discard block |
||
38 | 38 | public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
39 | 39 | { |
40 | 40 | // The configuration comes from config.ini.php, via request attributes. |
41 | - $trusted_headers = $this->getCommaSeparatedAttribute($request,'trusted_headers'); |
|
42 | - $trusted_proxies = $this->getCommaSeparatedAttribute($request,'trusted_proxies'); |
|
41 | + $trusted_headers = $this->getCommaSeparatedAttribute($request, 'trusted_headers'); |
|
42 | + $trusted_proxies = $this->getCommaSeparatedAttribute($request, 'trusted_proxies'); |
|
43 | 43 | |
44 | 44 | $this->proxy($trusted_proxies, $trusted_headers); |
45 | 45 | |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | * |
53 | 53 | * @return string[] |
54 | 54 | */ |
55 | - private function getCommaSeparatedAttribute(ServerRequestInterface $request, string $attribute): array |
|
55 | + private function getCommaSeparatedAttribute(ServerRequestInterface $request, string $attribute): array |
|
56 | 56 | { |
57 | 57 | $value = $request->getAttribute($attribute); |
58 | 58 |