Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove non-static-method called errors #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,10 @@ printf("The official eBay time is: %s\n", $response->Timestamp->format('H:i (\G\
```php
use \DTS\eBaySDK\Shopping\Services;
use \DTS\eBaySDK\Shopping\Types;
use Hkonnet\LaravelEbay\Ebay;

$config = Ebay::getConfig();
$ebay = new Ebay();
$config = $ebay->getConfig();

// Create the service object.
$service = new Services\ShoppingService($config);
Expand Down Expand Up @@ -187,9 +189,12 @@ use \DTS\eBaySDK\Finding\Types;
```php
use DTS\eBaySDK\Finding\Services\FindingService;
use \DTS\eBaySDK\Finding\Types;
use Hkonnet\LaravelEbay\Ebay;

// Create the service object.
$config = Ebay::getConfig();

$ebay = new Ebay();
$config = $ebay->getConfig();
$service = new FindingService($config);

// Assign the keywords.
Expand Down