Skip to content

Commit 60e5e22

Browse files
author
Matt Humphrey
committed
Prevent invalid method hints when using api() method
1 parent efca42e commit 60e5e22

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

‎lib/Gitlab/Client.php‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
<?php
2-
3-
namespace Gitlab;
1+
<?php namespace Gitlab;
42

53
use Buzz\Client\Curl;
64
use Buzz\Client\ClientInterface;

‎lib/Gitlab/Model/AbstractModel.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function setClient(Client $client = null)
4444

4545
/**
4646
* @param string $api
47-
* @return AbstractApi
47+
* @return AbstractApi|mixed
4848
*/
4949
public function api($api)
5050
{

0 commit comments

Comments
 (0)