Completed
Push — master ( 32f37c...b12769 )
by Dan Michael O.
04:22
created
spec/Users/RequestsSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Client.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@
 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
      *
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 use Scriptotek\Alma\Bibs\Bibs;
22 22
 use Scriptotek\Alma\Bibs\Items;
23 23
 use Scriptotek\Alma\Conf\Conf;
24
-use Scriptotek\Alma\Conf\Libraries;
25 24
 use Scriptotek\Alma\Conf\Library;
26 25
 use Scriptotek\Alma\Exception\ClientException as AlmaClientException;
27 26
 use Scriptotek\Alma\Exception\InvalidApiKey;
Please login to merge, or discard this patch.
src/Model/LazyResource.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 
86 86
     /**
87 87
      * Get and return the model data.
88
-     * @return object
88
+     * @return \stdClass
89 89
      */
90 90
     protected function fetchData()
91 91
     {
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      * Called when data is available on the object.
97 97
      * The resource classes can use this method to process the data.
98 98
      *
99
-     * @param mixed $data
99
+     * @param \stdClass $data
100 100
      */
101 101
     protected function onData($data)
102 102
     {
Please login to merge, or discard this patch.
spec/TaskLists/RequestedResourceSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Scriptotek\Alma\Conf\Library;
8 8
 use Scriptotek\Alma\TaskLists\RequestedResource;
9 9
 use PhpSpec\ObjectBehavior;
10
-use Prophecy\Argument;
11 10
 
12 11
 
13 12
 class RequestedResourceSpec extends ObjectBehavior
Please login to merge, or discard this patch.
spec/TaskLists/RequestedResourcesSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use Scriptotek\Alma\Conf\Library;
9 9
 use Scriptotek\Alma\TaskLists\RequestedResource;
10 10
 use PhpSpec\ObjectBehavior;
11
-use Prophecy\Argument;
12 11
 use spec\Scriptotek\Alma\SpecHelper;
13 12
 
14 13
 class RequestedResourcesSpec extends ObjectBehavior
Please login to merge, or discard this patch.
src/Model/SimplePaginatedList.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -42,6 +42,9 @@
 block discarded – undo
42 42
         return null;
43 43
     }
44 44
 
45
+    /**
46
+     * @param \stdClass $data
47
+     */
45 48
     protected function onData($data)
46 49
     {
47 50
         parent::onData($data);
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Scriptotek\Alma\Model;
4 4
 
5
-use Scriptotek\Alma\Exception\ClientException;
6
-
7 5
 /**
8 6
  * A SimplePaginatedList is a list that is paged using the `offset`
9 7
  * and `limit` parameters and that provides a `totalRecordCount` in the first response,
Please login to merge, or discard this patch.