diff --git a/cookbook/security/api_key_authentication.rst b/cookbook/security/api_key_authentication.rst index ee721e4894f..5ed3b0ef133 100644 --- a/cookbook/security/api_key_authentication.rst +++ b/cookbook/security/api_key_authentication.rst @@ -308,7 +308,7 @@ you can use to create an error ``Response``. // this contains information about *why* authentication failed // use it, or return your own message strtr($exception->getMessageKey(), $exception->getMessageData()) - , 403) + , 403); } }