Skip to content

Commit 9d6283a

Browse files
committed
updated ClientInterface: added addListener method
1 parent ea507e5 commit 9d6283a

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

lib/Bitbucket/API/Http/Client.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,7 @@ public function __construct(array $options = array(), BuzzClientInterface $clien
6868
}
6969

7070
/**
71-
* @access public
72-
* @param ListenerInterface $listener
73-
* @return $this
71+
* {@inheritDoc}
7472
*/
7573
public function addListener(ListenerInterface $listener)
7674
{

lib/Bitbucket/API/Http/ClientInterface.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespace Bitbucket\API\Http;
1313

1414
use Buzz\Message\MessageInterface;
15+
use Bitbucket\API\Http\Listener\ListenerInterface;
1516

1617
/**
1718
* @author Alexandru G. <alex@gentle.ro>
@@ -123,4 +124,11 @@ public function setApiVersion($version);
123124
* @return string
124125
*/
125126
public function getApiBaseUrl();
127+
128+
/**
129+
* @access public
130+
* @param ListenerInterface $listener
131+
* @return $this
132+
*/
133+
public function addListener(ListenerInterface $listener);
126134
}

0 commit comments

Comments
 (0)