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.
1 parent e306f07 commit adecb25Copy full SHA for adecb25
lib/Github/Api/Repository/Protection.php
@@ -3,13 +3,23 @@
3
namespace Github\Api\Repository;
4
5
use Github\Api\AbstractApi;
6
+use Github\Api\AcceptHeaderTrait;
7
8
/**
9
* @link https://developer.github.com/v3/repos/branches/
10
* @author Brandon Bloodgood <[email protected]>
11
*/
12
class Protection extends AbstractApi
13
{
14
+ use AcceptHeaderTrait;
15
+
16
+ public function configure()
17
+ {
18
+ $this->acceptHeaderValue = 'application/vnd.github.loki-preview+json';
19
20
+ return $this;
21
+ }
22
23
24
* Retrieves configured protection for the provided branch
25
*
0 commit comments