Skip to content

Commit 0d561b4

Browse files
committed
Removed wrong $
1 parent 378cf17 commit 0d561b4

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
@@ -81,7 +81,7 @@ public function create($account, $repo, $params = array())
8181

8282
$params = array_merge($defaults, $params);
8383

84-
if (empty($params['kind']) || !in_array($params['kind'], $this->$allowedRestrictionTypes)) {
84+
if (empty($params['kind']) || !in_array($params['kind'], $this->allowedRestrictionTypes)) {
8585
throw new \InvalidArgumentException('Invalid restriction kind.');
8686
}
8787

0 commit comments

Comments
 (0)