Skip to content

Commit c5b3f62

Browse files
author
Matt Bozwood-Davies
committed
Correct namespace on test. update readme to use another client
1 parent ad3beaa commit c5b3f62

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ Each client class has its own subclients, which can be accessed via methods on t
3636
```php
3737
<?php
3838

39-
$client = (new \UKFast\SDK\PSS\Client)->auth('API KEY');
39+
$client = (new \UKFast\SDK\eCloud\Client)->auth('API KEY');
4040

41-
$page = $client->requests()->getPage();
41+
$page = $client->vpcs()->getPage();
4242

4343
foreach ($page->getItems() as $request) {
44-
echo "#{$request->id} - {$request->subject}\n";
44+
echo "#{$request->id} - {$request->name}\n";
4545
}
4646
```
4747

tests/Account/ContactTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Tests\Pss;
3+
namespace Tests\Account;
44

55
use PHPUnit\Framework\TestCase;
66
use UKFast\SDK\Account\Entities\Contact;

0 commit comments

Comments
 (0)