@@ -85,7 +85,7 @@ discard block |
||
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 |
||
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 | { |
@@ -42,6 +42,9 @@ |
||
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); |
@@ -2,8 +2,6 @@ |
||
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, |