diff --git a/doc/two_factor_authentication.md b/doc/two_factor_authentication.md index 2b670b05ba2..7270239974f 100644 --- a/doc/two_factor_authentication.md +++ b/doc/two_factor_authentication.md @@ -7,7 +7,7 @@ ```php try { $authorization = $github->api('authorizations')->create(); -} catch (Github\Exception\TwoFactorAuthenticationRequiredException $e { +} catch (Github\Exception\TwoFactorAuthenticationRequiredException $e) { echo sprintf("Two factor authentication of type %s is required.", $e->getType()); } ```