@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Scriptotek\GoogleBooks; |
4 | 4 | |
5 | -use GuzzleHttp\Client; |
|
6 | 5 | use Scriptotek\GoogleBooks\GoogleBooks; |
7 | 6 | |
8 | 7 | class LibraryBuilder |
@@ -16,7 +16,7 @@ |
||
16 | 16 | |
17 | 17 | /** |
18 | 18 | * @param $query |
19 | - * @return \Generator|Volume || array |
|
19 | + * @return LibraryBuilder || array |
|
20 | 20 | */ |
21 | 21 | public function search($query) |
22 | 22 | { |
@@ -70,7 +70,7 @@ |
||
70 | 70 | $this->maxResults = isset($options['maxResults']) ? $options['maxResults'] : null; |
71 | 71 | } |
72 | 72 | |
73 | - public function raw($endpoint, $params = [], $method='GET') |
|
73 | + public function raw($endpoint, $params = [], $method = 'GET') |
|
74 | 74 | { |
75 | 75 | if (!is_null($this->key)) { |
76 | 76 | $params['key'] = $this->key; |