@@ -123,6 +123,9 @@ discard block |
||
123 | 123 | abstract protected function _prepare(); |
124 | 124 | abstract protected function _loadFromXml(\DOMElement $elem); |
125 | 125 | |
126 | + /** |
|
127 | + * @param string $data |
|
128 | + */ |
|
126 | 129 | static public function factory($data) |
127 | 130 | { |
128 | 131 | $objPmReq = null; |
@@ -220,6 +223,9 @@ discard block |
||
220 | 223 | return $objPmReq; |
221 | 224 | } |
222 | 225 | |
226 | + /** |
|
227 | + * @param integer $reqVersion |
|
228 | + */ |
|
223 | 229 | protected function _setRequestInfo($reqVersion, $reqData) |
224 | 230 | { |
225 | 231 | $this->_objRequestInfo = new stdClass(); |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | /** |
94 | 94 | * |
95 | 95 | * Populate the class from the request xml |
96 | - * @param DOMNode $elem |
|
96 | + * @param \DOMElement $elem |
|
97 | 97 | * @return Mobilpay_Payment_Reuquest_Notify |
98 | 98 | * @throws Exception On missing xml attributes |
99 | 99 | */ |
@@ -237,8 +237,8 @@ discard block |
||
237 | 237 | /** |
238 | 238 | * |
239 | 239 | * Appends to computed xml element to the xmlDoc and returns it |
240 | - * @param DOMDocument $xmlDoc |
|
241 | - * @return DOMElement |
|
240 | + * @param \DOMDocument $xmlDoc |
|
241 | + * @return \DOMElement |
|
242 | 242 | */ |
243 | 243 | public function createXmlElement(\DOMDocument $xmlDoc) { |
244 | 244 | $xmlNotifyElem = $xmlDoc->createElement('mobilpay'); |