Skip to content

Commit

Permalink
Fix missing parentesis
Browse files Browse the repository at this point in the history
Fix missing closing paretensis
  • Loading branch information
vluzrmos committed Jun 19, 2017
1 parent 61259df commit 5f4fd26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CorsMiddleware.php
Expand Up @@ -54,7 +54,7 @@ public function setTrustedProxiesForRequest(Request $request)
if (empty($request->getTrustedProxies())) {
$args = [$request->getClientIps()];

if (defined('\Symfony\Component\HttpFoundation\Request::HEADER_X_FORWARDED_ALL') {
if (defined('\Symfony\Component\HttpFoundation\Request::HEADER_X_FORWARDED_ALL')) {
array_push($args, Request::HEADER_X_FORWARDED_ALL);
}

Expand Down

0 comments on commit 5f4fd26

Please sign in to comment.