We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c4fb5fe + 657fb9d commit 1f477b8Copy full SHA for 1f477b8
doc/two_factor_authentication.md
@@ -7,7 +7,7 @@
7
```php
8
try {
9
$authorization = $github->api('authorizations')->create();
10
-} catch (Github\Exception\TwoFactorAuthenticationRequiredException $e {
+} catch (Github\Exception\TwoFactorAuthenticationRequiredException $e) {
11
echo sprintf("Two factor authentication of type %s is required.", $e->getType());
12
}
13
```
0 commit comments