Completed
Push — master ( 32f37c...b12769 )
by Dan Michael O.
04:22
created
src/Model/LazyResource.php 1 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.
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.