@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | * |
268 | 268 | * @param string $msg |
269 | 269 | * @param int $priority One of the Propel::LOG_* logging levels |
270 | - * @return boolean |
|
270 | + * @return boolean|null |
|
271 | 271 | */ |
272 | 272 | protected function log($msg, $priority = Propel::LOG_INFO) |
273 | 273 | { |
@@ -694,7 +694,7 @@ discard block |
||
694 | 694 | * one of the class type constants TableMap::TYPE_PHPNAME, TableMap::TYPE_CAMELNAME |
695 | 695 | * TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM. |
696 | 696 | * Defaults to TableMap::TYPE_PHPNAME. |
697 | - * @return mixed Value of field. |
|
697 | + * @return integer|null Value of field. |
|
698 | 698 | */ |
699 | 699 | public function getByName($name, $type = TableMap::TYPE_PHPNAME) |
700 | 700 | { |
@@ -709,7 +709,7 @@ discard block |
||
709 | 709 | * Zero-based. |
710 | 710 | * |
711 | 711 | * @param int $pos position in xml schema |
712 | - * @return mixed Value of field at $pos |
|
712 | + * @return integer|null Value of field at $pos |
|
713 | 713 | */ |
714 | 714 | public function getByPosition($pos) |
715 | 715 | { |
@@ -860,7 +860,7 @@ discard block |
||
860 | 860 | * TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM. |
861 | 861 | * The default key type is the column's TableMap::TYPE_PHPNAME. |
862 | 862 | * |
863 | - * @param mixed $parser A AbstractParser instance, |
|
863 | + * @param string $parser A AbstractParser instance, |
|
864 | 864 | * or a format name ('XML', 'YAML', 'JSON', 'CSV') |
865 | 865 | * @param string $data The source data to import from |
866 | 866 | * @param string $keyType The type of keys the array uses. |
@@ -949,7 +949,7 @@ discard block |
||
949 | 949 | /** |
950 | 950 | * Returns the composite primary key for this object. |
951 | 951 | * The array elements will be in same order as specified in XML. |
952 | - * @return array |
|
952 | + * @return integer[] |
|
953 | 953 | */ |
954 | 954 | public function getPrimaryKey() |
955 | 955 | { |
@@ -8,7 +8,6 @@ |
||
8 | 8 | use Propel\Runtime\ActiveQuery\Criteria; |
9 | 9 | use Propel\Runtime\ActiveQuery\ModelCriteria; |
10 | 10 | use Propel\Runtime\ActiveRecord\ActiveRecordInterface; |
11 | -use Propel\Runtime\Collection\Collection; |
|
12 | 11 | use Propel\Runtime\Connection\ConnectionInterface; |
13 | 12 | use Propel\Runtime\Exception\BadMethodCallException; |
14 | 13 | use Propel\Runtime\Exception\LogicException; |
@@ -113,7 +113,6 @@ discard block |
||
113 | 113 | * $obj = $c->findPk(array(12, 34), $con); |
114 | 114 | * </code> |
115 | 115 | * |
116 | - * @param array[$link_id, $product_id] $key Primary key to use for the query |
|
117 | 116 | * @param ConnectionInterface $con an optional connection object |
118 | 117 | * |
119 | 118 | * @return ChildPageLinkProducts|array|mixed the result, formatted by the current formatter |
@@ -223,7 +222,7 @@ discard block |
||
223 | 222 | * |
224 | 223 | * @param mixed $key Primary key to use for the query |
225 | 224 | * |
226 | - * @return $this|ChildPageLinkProductsQuery The current query, for fluid interface |
|
225 | + * @return PageLinkProductsQuery The current query, for fluid interface |
|
227 | 226 | */ |
228 | 227 | public function filterByPrimaryKey($key) |
229 | 228 | { |
@@ -238,7 +237,7 @@ discard block |
||
238 | 237 | * |
239 | 238 | * @param array $keys The list of primary key to use for the query |
240 | 239 | * |
241 | - * @return $this|ChildPageLinkProductsQuery The current query, for fluid interface |
|
240 | + * @return Criteria The current query, for fluid interface |
|
242 | 241 | */ |
243 | 242 | public function filterByPrimaryKeys($keys) |
244 | 243 | { |
@@ -273,7 +272,7 @@ discard block |
||
273 | 272 | * Use associative array('min' => $minValue, 'max' => $maxValue) for intervals. |
274 | 273 | * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL |
275 | 274 | * |
276 | - * @return $this|ChildPageLinkProductsQuery The current query, for fluid interface |
|
275 | + * @return ModelCriteria The current query, for fluid interface |
|
277 | 276 | */ |
278 | 277 | public function filterByLinkId($linkId = null, $comparison = null) |
279 | 278 | { |
@@ -314,7 +313,7 @@ discard block |
||
314 | 313 | * Use associative array('min' => $minValue, 'max' => $maxValue) for intervals. |
315 | 314 | * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL |
316 | 315 | * |
317 | - * @return $this|ChildPageLinkProductsQuery The current query, for fluid interface |
|
316 | + * @return ModelCriteria The current query, for fluid interface |
|
318 | 317 | */ |
319 | 318 | public function filterByProductId($productId = null, $comparison = null) |
320 | 319 | { |
@@ -347,7 +346,7 @@ discard block |
||
347 | 346 | * |
348 | 347 | * @throws \Propel\Runtime\Exception\PropelException |
349 | 348 | * |
350 | - * @return ChildPageLinkProductsQuery The current query, for fluid interface |
|
349 | + * @return ModelCriteria The current query, for fluid interface |
|
351 | 350 | */ |
352 | 351 | public function filterByPageLink($pageLink, $comparison = null) |
353 | 352 | { |
@@ -372,7 +371,7 @@ discard block |
||
372 | 371 | * @param string $relationAlias optional alias for the relation |
373 | 372 | * @param string $joinType Accepted values are null, 'left join', 'right join', 'inner join' |
374 | 373 | * |
375 | - * @return $this|ChildPageLinkProductsQuery The current query, for fluid interface |
|
374 | + * @return PageLinkProductsQuery The current query, for fluid interface |
|
376 | 375 | */ |
377 | 376 | public function joinPageLink($relationAlias = null, $joinType = Criteria::INNER_JOIN) |
378 | 377 | { |
@@ -421,7 +420,7 @@ discard block |
||
421 | 420 | * |
422 | 421 | * @param ChildPageLinkProducts $pageLinkProducts Object to remove from the list of results |
423 | 422 | * |
424 | - * @return $this|ChildPageLinkProductsQuery The current query, for fluid interface |
|
423 | + * @return PageLinkProductsQuery The current query, for fluid interface |
|
425 | 424 | */ |
426 | 425 | public function prune($pageLinkProducts = null) |
427 | 426 | { |
@@ -146,7 +146,7 @@ |
||
146 | 146 | * $obj = $c->findPk(12, $con); |
147 | 147 | * </code> |
148 | 148 | * |
149 | - * @param mixed $key Primary key to use for the query |
|
149 | + * @param integer $key Primary key to use for the query |
|
150 | 150 | * @param ConnectionInterface $con an optional connection object |
151 | 151 | * |
152 | 152 | * @return ChildBanners|array|mixed the result, formatted by the current formatter |
@@ -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 | { |
@@ -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) { |