| @@ -84,9 +84,9 @@ | ||
| 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 |      { | 
| @@ -89,7 +89,7 @@ discard block | ||
| 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 | ||
| 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 |      { | 
| @@ -39,6 +39,9 @@ | ||
| 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); |