@@ -18,8 +18,8 @@ |
||
18 | 18 | namespace Phpoaipmh; |
19 | 19 | |
20 | 20 | use Phpoaipmh\Exception\HttpException; |
21 | -use Phpoaipmh\Exception\OaipmhException; |
|
22 | 21 | use Phpoaipmh\Exception\MalformedResponseException; |
22 | +use Phpoaipmh\Exception\OaipmhException; |
|
23 | 23 | use Phpoaipmh\HttpAdapter\CurlAdapter; |
24 | 24 | use Phpoaipmh\HttpAdapter\GuzzleAdapter; |
25 | 25 | use Phpoaipmh\HttpAdapter\HttpAdapterInterface; |
@@ -84,6 +84,7 @@ discard block |
||
84 | 84 | * @param ClientInterface $client The client to use |
85 | 85 | * @param string $verb The verb to use when retrieving results from the client |
86 | 86 | * @param array $params Optional parameters passed to OAI-PMH |
87 | + * @param string $resumptionToken |
|
87 | 88 | */ |
88 | 89 | public function __construct(ClientInterface $client, $verb, array $params = array(), $resumptionToken = null) |
89 | 90 | { |
@@ -102,7 +103,7 @@ discard block |
||
102 | 103 | /** |
103 | 104 | * Get the total number of requests made during this run |
104 | 105 | * |
105 | - * @return int The number of HTTP requests made |
|
106 | + * @return boolean The number of HTTP requests made |
|
106 | 107 | */ |
107 | 108 | public function getNumRequests() |
108 | 109 | { |
@@ -259,7 +260,7 @@ discard block |
||
259 | 260 | * |
260 | 261 | * Map the item node name based on the verb |
261 | 262 | * |
262 | - * @return string|boolean The element name for the mapping, or false if unmapped |
|
263 | + * @return string|false The element name for the mapping, or false if unmapped |
|
263 | 264 | */ |
264 | 265 | private function getItemNodeName() |
265 | 266 | { |