We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5d7cb70 + 1e9c33c commit 6cc4ce5Copy full SHA for 6cc4ce5
doc/repo/protection.md
@@ -31,7 +31,7 @@ $params = [
31
'enforce_admins' => true,
32
'restrictions' => null,
33
];
34
-$protection = $client->api('repo')->protection()->show('twbs', 'bootstrap', 'master', $params);
+$protection = $client->api('repo')->protection()->update('twbs', 'bootstrap', 'master', $params);
35
```
36
37
### Remove branch protection
0 commit comments