@@ -5,7 +5,6 @@ |
||
5 | 5 | use PhpSpec\ObjectBehavior; |
6 | 6 | use Scriptotek\Alma\Analytics\Report; |
7 | 7 | use Scriptotek\Alma\Analytics\Row; |
8 | -use Scriptotek\Alma\Analytics\Rows; |
|
9 | 8 | use Scriptotek\Alma\Client; |
10 | 9 | use Scriptotek\Alma\Exception\ResourceNotFound; |
11 | 10 | use spec\Scriptotek\Alma\SpecHelper; |
@@ -21,6 +21,9 @@ |
||
21 | 21 | $this->beConstructedWith($client, '999104760474702204'); |
22 | 22 | } |
23 | 23 | |
24 | + /** |
|
25 | + * @param AlmaClient $client |
|
26 | + */ |
|
24 | 27 | protected function expectRequest($client) |
25 | 28 | { |
26 | 29 | $client->getXML('/bibs/999104760474702204') |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use Prophecy\Argument; |
7 | 7 | use Scriptotek\Alma\Bibs\Bib; |
8 | 8 | use Scriptotek\Alma\Bibs\Bibs; |
9 | -use Scriptotek\Alma\Bibs\Holding; |
|
10 | 9 | use Scriptotek\Alma\Bibs\Holdings; |
11 | 10 | use Scriptotek\Alma\Client as AlmaClient; |
12 | 11 | use Scriptotek\Alma\Exception\ResourceNotFound; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace spec\Scriptotek\Alma\Bibs; |
4 | 4 | |
5 | 5 | use PhpSpec\ObjectBehavior; |
6 | -use Prophecy\Argument; |
|
7 | 6 | use Scriptotek\Alma\Bibs\Bib; |
8 | 7 | use Scriptotek\Alma\Bibs\Holding; |
9 | 8 | use Scriptotek\Alma\Bibs\Item; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace spec\Scriptotek\Alma\Users; |
4 | 4 | |
5 | 5 | use PhpSpec\ObjectBehavior; |
6 | -use Prophecy\Argument; |
|
7 | 6 | use Scriptotek\Alma\Client as AlmaClient; |
8 | 7 | use Scriptotek\Alma\Users\Fee; |
9 | 8 | use Scriptotek\Alma\Users\User; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace spec\Scriptotek\Alma\Users; |
4 | 4 | |
5 | 5 | use PhpSpec\ObjectBehavior; |
6 | -use Prophecy\Argument; |
|
7 | 6 | use Scriptotek\Alma\Client as AlmaClient; |
8 | 7 | use Scriptotek\Alma\Users\Request; |
9 | 8 | use Scriptotek\Alma\Users\User; |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Scriptotek\Alma\Client as AlmaClient; |
6 | 6 | use Scriptotek\Alma\Users\Requests; |
7 | 7 | use PhpSpec\ObjectBehavior; |
8 | -use Prophecy\Argument; |
|
9 | 8 | use spec\Scriptotek\Alma\SpecHelper; |
10 | 9 | |
11 | 10 | class RequestsSpec extends ObjectBehavior |
@@ -167,7 +167,7 @@ |
||
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 | * |
@@ -2,8 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Scriptotek\Alma\Model; |
4 | 4 | |
5 | -use Psr\Http\Message\UriInterface; |
|
6 | -use Scriptotek\Alma\Client; |
|
7 | 5 | use Scriptotek\Alma\Exception\ResourceNotFound; |
8 | 6 | |
9 | 7 | /** |