Skip to content

Commit f4b1538

Browse files
committed
22: Adds getTenantId method to XeroClientInterface
1 parent 6e48e75 commit f4b1538

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

src/XeroClient.php

+1-5
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,7 @@ public function getRefreshedToken(): ?AccessTokenInterface
238238
}
239239

240240
/**
241-
* The tenant guids accessible by this client.
242-
*
243-
* This will make a request if tenant ids is empty.
244-
*
245-
* @return string[]
241+
* {@inheritdoc}
246242
*/
247243
public function getTenantIds(): array
248244
{

src/XeroClientInterface.php

+7
Original file line numberDiff line numberDiff line change
@@ -164,4 +164,11 @@ public function post(string|UriInterface $uri = '', array $options = []): Respon
164164
* @deprecated in 0.5.0 and removed in 0.6.0. Use the request method.
165165
*/
166166
public function put(string|UriInterface $uri = '', array $options = []): ResponseInterface;
167+
168+
/**
169+
* The tenant guids accessible by this client.
170+
*
171+
* @return string[]
172+
*/
173+
public function getTenantIds(): array;
167174
}

0 commit comments

Comments
 (0)