Skip to content

Commit 506ccb5

Browse files
author
Lukas Kämmerling
committed
BranchRestrictions.php wurden online mit Bitbucket bearbeitet
1 parent 095f427 commit 506ccb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Bitbucket/API/Repositories/BranchRestrictions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function create($account, $repo, $params = array())
6464

6565
$params = array_merge($defaults, $params);
6666

67-
if (empty($params['kind']) || !in_array($params['kind'], array('push', 'delete', 'force'))) {
67+
if (empty($params['kind']) || !in_array($params['kind'], array('push', 'delete', 'force','restrict_merges'))) {
6868
throw new \InvalidArgumentException('Invalid restriction kind.');
6969
}
7070

0 commit comments

Comments
 (0)