Completed
Push — master ( 0abcf2...c12050 )
by Dan Michael O.
03:13
created
spec/Bibs/BibSpec.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -21,6 +21,10 @@
 block discarded – undo
21 21
         $this->beConstructedWith($client, '999104760474702204');
22 22
     }
23 23
 
24
+    /**
25
+     * @param AlmaClient $client
26
+     * @param UriInterface $url
27
+     */
24 28
     protected function expectRequest($client, $url)
25 29
     {
26 30
         $client->buildUrl('/bibs/999104760474702204', [])
Please login to merge, or discard this patch.
src/Bibs/Bibs.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
      * @param string $cql       The CQL query
78 78
      * @param int    $batchSize Number of records to return in each batch.
79 79
      *
80
-     * @return \Generator|Bib[]
80
+     * @return \Generator
81 81
      */
82 82
     public function search($cql, $batchSize = 10)
83 83
     {
Please login to merge, or discard this patch.
src/Client.php 1 patch
Doc Comments   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
     /**
168 168
      * Set the Alma region code ('na' for North America, 'eu' for Europe, 'ap' for Asia Pacific).
169 169
      *
170
-     * @param $regionCode
170
+     * @param string $regionCode
171 171
      *
172 172
      * @throws \ErrorException
173 173
      *
@@ -187,7 +187,6 @@  discard block
 block discarded – undo
187 187
      * Extend an URL (UriInterface or string) with query string parameters
188 188
      * and return an UriInterface object.
189 189
      *
190
-     * @param string $url|UriInterface
191 190
      * @param array  $query
192 191
      *
193 192
      * @return UriInterface
@@ -268,7 +267,6 @@  discard block
 block discarded – undo
268 267
     /**
269 268
      * Make a GET request.
270 269
      *
271
-     * @param string $url|UriInterface
272 270
      * @param array  $query
273 271
      * @param string $contentType
274 272
      *
@@ -289,7 +287,6 @@  discard block
 block discarded – undo
289 287
     /**
290 288
      * Make a GET request, accepting JSON.
291 289
      *
292
-     * @param string $url|UriInterface
293 290
      * @param array  $query
294 291
      *
295 292
      * @return \stdClass JSON response as an object.
@@ -304,7 +301,6 @@  discard block
 block discarded – undo
304 301
     /**
305 302
      * Make a GET request, accepting XML.
306 303
      *
307
-     * @param string $url|UriInterface
308 304
      * @param array  $query
309 305
      *
310 306
      * @return QuiteSimpleXMLElement
Please login to merge, or discard this patch.