Skip to content

Commit

Permalink
[symfony#6204] fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Jan 29, 2016
1 parent 50286bc commit 50c3fb2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cookbook/security/api_key_authentication.rst
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,9 @@ you can use to create an error ``Response``.
return new Response(
// this contains information about *why* authentication failed
// use it, or return your own message
strtr($exception->getMessageKey(), $exception->getMessageData())
, 403);
strtr($exception->getMessageKey(), $exception->getMessageData()),
403
);
}
}
Expand Down

0 comments on commit 50c3fb2

Please sign in to comment.