Skip to content

Commit 6cc4ce5

Browse files
authored
Merge pull request KnpLabs#643 from josefbarrera/fix-documentation-typo
Fix minor typo in protection.md
2 parents 5d7cb70 + 1e9c33c commit 6cc4ce5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/repo/protection.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ $params = [
3131
'enforce_admins' => true,
3232
'restrictions' => null,
3333
];
34-
$protection = $client->api('repo')->protection()->show('twbs', 'bootstrap', 'master', $params);
34+
$protection = $client->api('repo')->protection()->update('twbs', 'bootstrap', 'master', $params);
3535
```
3636

3737
### Remove branch protection

0 commit comments

Comments
 (0)