@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | } |
| 106 | 106 | |
| 107 | 107 | /** |
| 108 | - * @return string |
|
| 108 | + * @return integer |
|
| 109 | 109 | */ |
| 110 | 110 | public function getBirthday() |
| 111 | 111 | { |
@@ -311,7 +311,7 @@ discard block |
||
| 311 | 311 | } |
| 312 | 312 | |
| 313 | 313 | /** |
| 314 | - * @return string |
|
| 314 | + * @return integer |
|
| 315 | 315 | */ |
| 316 | 316 | public function getUserid() |
| 317 | 317 | { |
@@ -181,7 +181,7 @@ |
||
| 181 | 181 | } |
| 182 | 182 | |
| 183 | 183 | /** |
| 184 | - * @return string |
|
| 184 | + * @return integer |
|
| 185 | 185 | */ |
| 186 | 186 | public function getUserid() |
| 187 | 187 | { |
@@ -40,7 +40,6 @@ |
||
| 40 | 40 | protected $data = NULL; |
| 41 | 41 | |
| 42 | 42 | /** |
| 43 | - * @param int $key |
|
| 44 | 43 | * @return array |
| 45 | 44 | */ |
| 46 | 45 | public function toArray() |
@@ -224,7 +224,7 @@ discard block |
||
| 224 | 224 | } |
| 225 | 225 | |
| 226 | 226 | /** |
| 227 | - * @param $name |
|
| 227 | + * @param string $name |
|
| 228 | 228 | * @return null|mixed |
| 229 | 229 | */ |
| 230 | 230 | protected function get($name) |
@@ -237,7 +237,7 @@ discard block |
||
| 237 | 237 | |
| 238 | 238 | /** |
| 239 | 239 | * @param string $name |
| 240 | - * @param mixed $value |
|
| 240 | + * @param string $value |
|
| 241 | 241 | * @return boolean|null |
| 242 | 242 | */ |
| 243 | 243 | protected function set($name, $value) |
@@ -257,7 +257,7 @@ discard block |
||
| 257 | 257 | $this->rawResponse = $rawResponse; |
| 258 | 258 | } |
| 259 | 259 | /** |
| 260 | - * @return null |
|
| 260 | + * @return string |
|
| 261 | 261 | */ |
| 262 | 262 | public function getRawResponse() |
| 263 | 263 | { |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | |
| 25 | 25 | /** |
| 26 | 26 | * @param string $key Service Key, e.g. 'payment/refund' |
| 27 | - * @return Payone_Api_Service_Payment_Authorize|Payone_Api_Service_Payment_Debit|Payone_Api_Service_Payment_Preauthorize|Payone_Api_Service_Payment_Refund |
|
| 27 | + * @return Payone_ClientApi_Service_GenerateHash|null |
|
| 28 | 28 | * @throws Exception |
| 29 | 29 | */ |
| 30 | 30 | public function buildService($key) |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | } |
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | - * @param $key |
|
| 37 | + * @param string $key |
|
| 38 | 38 | * @return Payone_Settings_Service_XmlGenerate |
| 39 | 39 | * |
| 40 | 40 | * @throws Exception |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | * @api |
| 50 | 50 | * |
| 51 | 51 | * @param Payone_Settings_Data_ConfigFile_Root $config |
| 52 | - * @return mixed @see SimpleXMLElement::asXml() |
|
| 52 | + * @return string @see SimpleXMLElement::asXml() |
|
| 53 | 53 | */ |
| 54 | 54 | public function generate(Payone_Settings_Data_ConfigFile_Root $config) |
| 55 | 55 | { |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | * @api |
| 75 | 75 | * |
| 76 | 76 | * @param Payone_Settings_Data_ConfigFile_Root $config |
| 77 | - * @return mixed @see SimpleXMLElement::asXml() |
|
| 77 | + * @return string|false @see SimpleXMLElement::asXml() |
|
| 78 | 78 | */ |
| 79 | 79 | public function execute(Payone_Settings_Data_ConfigFile_Root $config) |
| 80 | 80 | { |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | /** |
| 126 | 126 | * @param Payone_Settings_Data_ConfigFile_Shop $shopConfig |
| 127 | 127 | * @param DOMElement $configXml |
| 128 | - * @return string |
|
| 128 | + * @return DOMElement |
|
| 129 | 129 | */ |
| 130 | 130 | protected function mapShop(Payone_Settings_Data_ConfigFile_Shop $shopConfig, DOMElement $configXml) |
| 131 | 131 | { |
@@ -366,6 +366,10 @@ discard block |
||
| 366 | 366 | $this->addGlobal($cleatringTypeNode, $valueClearingType); |
| 367 | 367 | } |
| 368 | 368 | |
| 369 | + /** |
|
| 370 | + * @param DOMElement $parent |
|
| 371 | + * @param Payone_Settings_Data_ConfigFile_PaymentMethod_Abstract $type |
|
| 372 | + */ |
|
| 369 | 373 | public function addGlobal($parent, $type) |
| 370 | 374 | { |
| 371 | 375 | |
@@ -401,7 +405,7 @@ discard block |
||
| 401 | 405 | /** |
| 402 | 406 | * @param DOMElement $parent |
| 403 | 407 | * @param $object |
| 404 | - * @param $property |
|
| 408 | + * @param string $property |
|
| 405 | 409 | * @param bool $withCdata |
| 406 | 410 | * @return DOMElement |
| 407 | 411 | */ |
@@ -53,7 +53,7 @@ |
||
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | /** |
| 56 | - * @param $key |
|
| 56 | + * @param string $key |
|
| 57 | 57 | * @return Payone_TransactionStatus_Service_HandleRequest |
| 58 | 58 | * @throws Exception |
| 59 | 59 | */ |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | } |
| 106 | 106 | |
| 107 | 107 | /** |
| 108 | - * @return string |
|
| 108 | + * @return integer |
|
| 109 | 109 | */ |
| 110 | 110 | public function getBirthday() |
| 111 | 111 | { |
@@ -311,7 +311,7 @@ discard block |
||
| 311 | 311 | } |
| 312 | 312 | |
| 313 | 313 | /** |
| 314 | - * @return string |
|
| 314 | + * @return integer |
|
| 315 | 315 | */ |
| 316 | 316 | public function getUserid() |
| 317 | 317 | { |