Completed
Pull Request — master (#10)
by Dan Michael O.
02:48 queued 57s
created
src/Bibs/Bib.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -86,6 +86,7 @@
 block discarded – undo
86 86
 
87 87
     /**
88 88
      * Get the MMS ID of the linked record in network zone.
89
+     * @return string
89 90
      */
90 91
     public function getNzMmsId()
91 92
     {
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.
spec/Bibs/BibSpec.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -21,6 +21,9 @@
 block discarded – undo
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')
Please login to merge, or discard this patch.
src/Client.php 1 patch
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.
src/Analytics/Report.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,9 +84,9 @@
 block discarded – undo
84 84
     /**
85 85
      * Convert a retrieved resource to an object.
86 86
      *
87
-     * @param $data
87
+     * @param QuiteSimpleXMLElement $data
88 88
      *
89
-     * @return mixed
89
+     * @return Row
90 90
      */
91 91
     protected function convertToResource($data)
92 92
     {
Please login to merge, or discard this patch.
src/Model/LazyResource.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
     /**
90 90
      * Get and return the model data.
91 91
      *
92
-     * @return object
92
+     * @return \stdClass
93 93
      */
94 94
     protected function fetchData()
95 95
     {
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
      * Called when data is available on the object.
101 101
      * The resource classes can use this method to process the data.
102 102
      *
103
-     * @param mixed $data
103
+     * @param \stdClass $data
104 104
      */
105 105
     protected function onData($data)
106 106
     {
Please login to merge, or discard this patch.
src/Model/SimplePaginatedList.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -39,6 +39,9 @@
 block discarded – undo
39 39
         } while (!$this->isInitialized($this->resources));
40 40
     }
41 41
 
42
+    /**
43
+     * @param \stdClass $data
44
+     */
42 45
     protected function onData($data)
43 46
     {
44 47
         parent::onData($data);
Please login to merge, or discard this patch.