Skip to content

Commit 9154577

Browse files
committed
Fix bc break in check api class
1 parent 07fc9be commit 9154577

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/Github/Api/Repository/Checks.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace Github\Api\Repository;
44

55
use Github\Api\AbstractApi;
6+
use Github\Api\AcceptHeaderTrait;
67
use Github\Exception\MissingArgumentException;
78

89
/**
@@ -12,6 +13,9 @@
1213
*/
1314
class Checks extends AbstractApi
1415
{
16+
// NEXT_MAJOR: remove trait use.
17+
use AcceptHeaderTrait;
18+
1519
/**
1620
* @link https://developer.github.com/v3/checks/runs/#create-a-check-run
1721
*

0 commit comments

Comments
 (0)