Skip to content
This repository was archived by the owner on Jun 18, 2021. It is now read-only.

Commit b8c207d

Browse files
committed
Updated readme and composer
1 parent 16448e7 commit b8c207d

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

README.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ $stores = $results->getStores();
4141

4242
// get a list of the brands in the results
4343
$brands = $results->getBrands();
44+
45+
// get a list of the brands in the results
46+
$categories = $results->getCategories();
4447
```
4548

4649
## Results:
@@ -98,4 +101,10 @@ The `getProducts()` returns results using the `Collection` object from [basephp\
98101

99102

100103
## Contributions
101-
Accepting contributions and feedback. Send in any issues and pull requests.
104+
105+
Anyone can contribute to the baseify-php-sdk project. Please do so by posting issues when you've found something that is unexpected or sending a pull request for improvements.
106+
107+
108+
## License
109+
110+
baseify-php-sdk is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

composer.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
"require": {
1717
"php": ">=7.0",
1818
"guzzlehttp/guzzle": "^6.3",
19-
"basephp/support" : "1.*",
20-
"filebase/filebase": "^1.0"
19+
"basephp/support" : "1.*"
2120
},
2221

2322
"require-dev": {

src/Request.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
use GuzzleHttp\Client as HttpRequest;
44
use GuzzleHttp\TransferStats;
5+
use GuzzleHttp\Exception\RequestException;
56
use Exception;
67

78
class Request
@@ -124,7 +125,7 @@ protected function setHttpResponse($uri, $options)
124125

125126
return true;
126127
}
127-
catch (\GuzzleHttp\Exception\RequestException $e)
128+
catch (RequestException $e)
128129
{
129130
return false;
130131
}

0 commit comments

Comments
 (0)