@@ -236,7 +236,7 @@ |
||
236 | 236 | * @param string $indexType One of the class type constants TableMap::TYPE_PHPNAME, TableMap::TYPE_CAMELNAME |
237 | 237 | * TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM |
238 | 238 | * |
239 | - * @return mixed The primary key of the row |
|
239 | + * @return integer[] The primary key of the row |
|
240 | 240 | */ |
241 | 241 | public static function getPrimaryKeyFromRow($row, $offset = 0, $indexType = TableMap::TYPE_NUM) |
242 | 242 | { |
@@ -245,7 +245,7 @@ |
||
245 | 245 | * @param string $indexType One of the class type constants TableMap::TYPE_PHPNAME, TableMap::TYPE_CAMELNAME |
246 | 246 | * TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM |
247 | 247 | * |
248 | - * @return mixed The primary key of the row |
|
248 | + * @return integer The primary key of the row |
|
249 | 249 | */ |
250 | 250 | public static function getPrimaryKeyFromRow($row, $offset = 0, $indexType = TableMap::TYPE_NUM) |
251 | 251 | { |
@@ -86,9 +86,9 @@ |
||
86 | 86 | |
87 | 87 | /** |
88 | 88 | * Format date |
89 | - * @param $unixTimeStamp |
|
89 | + * @param integer $unixTimeStamp |
|
90 | 90 | * @param bool $format |
91 | - * @return bool|string |
|
91 | + * @return string|null |
|
92 | 92 | */ |
93 | 93 | private function formatDate($unixTimeStamp, $format = false) { |
94 | 94 | $format = is_string($format) ? $format : 'd-m-Y'; |
@@ -228,6 +228,10 @@ discard block |
||
228 | 228 | |
229 | 229 | } |
230 | 230 | |
231 | + /** |
|
232 | + * @param string $result |
|
233 | + * @param string $description |
|
234 | + */ |
|
231 | 235 | private function printAnswer($result, $description) { |
232 | 236 | print 'WMI_RESULT=' . strtoupper($result) . '&'; |
233 | 237 | print 'WMI_DESCRIPTION=' . urlencode($description); |
@@ -236,7 +240,7 @@ discard block |
||
236 | 240 | /** |
237 | 241 | * Save settings |
238 | 242 | * |
239 | - * @return bool|string |
|
243 | + * @return boolean |
|
240 | 244 | */ |
241 | 245 | public function saveSettings(SPaymentMethods $paymentMethod) { |
242 | 246 | $saveKey = $paymentMethod->getId() . '_' . $this->moduleName; |
@@ -26,7 +26,7 @@ |
||
26 | 26 | |
27 | 27 | /** |
28 | 28 | * Selects the category assigned by the user |
29 | - * @param $type int |
|
29 | + * @param integer $type int |
|
30 | 30 | * @return array Information about the selected category |
31 | 31 | */ |
32 | 32 | public function init($type) { |