Skip to content

Commit abac056

Browse files
authored
Update Client.php
1 parent 3a1dd27 commit abac056

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎lib/Github/Client.php‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
* @method Api\Authorizations authorization()
5555
* @method Api\Authorizations authorizations()
5656
* @method Api\Meta meta()
57+
* @method Api\GraphQL graphql()
5758
*
5859
* @author Joseph Bielawski <stloyd@gmail.com>
5960
*
@@ -267,6 +268,9 @@ public function api($name)
267268
case 'meta':
268269
$api = new Api\Meta($this);
269270
break;
271+
case 'graphql':
272+
$api = new Api\GraphQL($this);
273+
break;
270274

271275
default:
272276
throw new InvalidArgumentException(sprintf('Undefined api instance called: "%s"', $name));

0 commit comments

Comments
 (0)