Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php namespace Packback\Prices\Clients; |
||
13 | 2 | public function getPricesForIsbns($isbns = []) |
|
14 | { |
||
15 | 2 | foreach ($isbns as $isbn) { |
|
16 | 2 | $response = $this->addParam('isbn', $isbn)->send(); |
|
17 | 2 | $this->addPricesToCollection($response); |
|
18 | 2 | } |
|
19 | 2 | $this->addMetaToPrices($this->collection); |
|
20 | 2 | return $this->collection; |
|
21 | } |
||
22 | |||
33 |