@@ -308,7 +308,7 @@ discard block |
||
| 308 | 308 | * |
| 309 | 309 | * @param string $msg |
| 310 | 310 | * @param int $priority One of the Propel::LOG_* logging levels |
| 311 | - * @return boolean |
|
| 311 | + * @return boolean|null |
|
| 312 | 312 | */ |
| 313 | 313 | protected function log($msg, $priority = Propel::LOG_INFO) |
| 314 | 314 | { |
@@ -1101,7 +1101,7 @@ discard block |
||
| 1101 | 1101 | * TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM. |
| 1102 | 1102 | * The default key type is the column's TableMap::TYPE_PHPNAME. |
| 1103 | 1103 | * |
| 1104 | - * @param mixed $parser A AbstractParser instance, |
|
| 1104 | + * @param string $parser A AbstractParser instance, |
|
| 1105 | 1105 | * or a format name ('XML', 'YAML', 'JSON', 'CSV') |
| 1106 | 1106 | * @param string $data The source data to import from |
| 1107 | 1107 | * @param string $keyType The type of keys the array uses. |
@@ -308,7 +308,7 @@ discard block |
||
| 308 | 308 | * |
| 309 | 309 | * @param string $msg |
| 310 | 310 | * @param int $priority One of the Propel::LOG_* logging levels |
| 311 | - * @return boolean |
|
| 311 | + * @return boolean|null |
|
| 312 | 312 | */ |
| 313 | 313 | protected function log($msg, $priority = Propel::LOG_INFO) |
| 314 | 314 | { |
@@ -1101,7 +1101,7 @@ discard block |
||
| 1101 | 1101 | * TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM. |
| 1102 | 1102 | * The default key type is the column's TableMap::TYPE_PHPNAME. |
| 1103 | 1103 | * |
| 1104 | - * @param mixed $parser A AbstractParser instance, |
|
| 1104 | + * @param string $parser A AbstractParser instance, |
|
| 1105 | 1105 | * or a format name ('XML', 'YAML', 'JSON', 'CSV') |
| 1106 | 1106 | * @param string $data The source data to import from |
| 1107 | 1107 | * @param string $keyType The type of keys the array uses. |
@@ -308,7 +308,7 @@ discard block |
||
| 308 | 308 | * |
| 309 | 309 | * @param string $msg |
| 310 | 310 | * @param int $priority One of the Propel::LOG_* logging levels |
| 311 | - * @return boolean |
|
| 311 | + * @return boolean|null |
|
| 312 | 312 | */ |
| 313 | 313 | protected function log($msg, $priority = Propel::LOG_INFO) |
| 314 | 314 | { |
@@ -1101,7 +1101,7 @@ discard block |
||
| 1101 | 1101 | * TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM. |
| 1102 | 1102 | * The default key type is the column's TableMap::TYPE_PHPNAME. |
| 1103 | 1103 | * |
| 1104 | - * @param mixed $parser A AbstractParser instance, |
|
| 1104 | + * @param string $parser A AbstractParser instance, |
|
| 1105 | 1105 | * or a format name ('XML', 'YAML', 'JSON', 'CSV') |
| 1106 | 1106 | * @param string $data The source data to import from |
| 1107 | 1107 | * @param string $keyType The type of keys the array uses. |
@@ -268,7 +268,7 @@ |
||
| 268 | 268 | * @param string $indexType One of the class type constants TableMap::TYPE_PHPNAME, TableMap::TYPE_CAMELNAME |
| 269 | 269 | * TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM |
| 270 | 270 | * |
| 271 | - * @return mixed The primary key of the row |
|
| 271 | + * @return integer The primary key of the row |
|
| 272 | 272 | */ |
| 273 | 273 | public static function getPrimaryKeyFromRow($row, $offset = 0, $indexType = TableMap::TYPE_NUM) |
| 274 | 274 | { |
@@ -5,11 +5,15 @@ |
||
| 5 | 5 | interface ResultInterface |
| 6 | 6 | { |
| 7 | 7 | |
| 8 | + /** |
|
| 9 | + * @return void |
|
| 10 | + */ |
|
| 8 | 11 | public function __construct($groupName); |
| 9 | 12 | |
| 10 | 13 | /** |
| 11 | 14 | * @param string $name |
| 12 | 15 | * @param string $url |
| 16 | + * @return void |
|
| 13 | 17 | */ |
| 14 | 18 | public function addResult($name, $url); |
| 15 | 19 | |
@@ -102,7 +102,7 @@ |
||
| 102 | 102 | /** |
| 103 | 103 | * @uses xbanners_helper.php getBanner() |
| 104 | 104 | * @param string $place |
| 105 | - * @return BannersQuery |
|
| 105 | + * @return xbanners\models\Banners |
|
| 106 | 106 | */ |
| 107 | 107 | public function getBanner($place) { |
| 108 | 108 | |
@@ -138,7 +138,7 @@ |
||
| 138 | 138 | * |
| 139 | 139 | * @access public |
| 140 | 140 | * @param int|array $id |
| 141 | - * @return array |
|
| 141 | + * @return string |
|
| 142 | 142 | */ |
| 143 | 143 | public function get_category($id) { |
| 144 | 144 | $this->unsorted(); |
@@ -279,7 +279,7 @@ |
||
| 279 | 279 | } |
| 280 | 280 | |
| 281 | 281 | /** |
| 282 | - * @param mixed $locale_id |
|
| 282 | + * @param integer $locale_id |
|
| 283 | 283 | */ |
| 284 | 284 | public function setLocaleId($locale_id) { |
| 285 | 285 | |
@@ -30,6 +30,9 @@ discard block |
||
| 30 | 30 | $this->modules = $modules; |
| 31 | 31 | } |
| 32 | 32 | |
| 33 | + /** |
|
| 34 | + * @param string $url |
|
| 35 | + */ |
|
| 33 | 36 | public function findRoute($url) { |
| 34 | 37 | $this->checkUrl($url); |
| 35 | 38 | $url = trim($url, '/'); |
@@ -64,6 +67,9 @@ discard block |
||
| 64 | 67 | } |
| 65 | 68 | } |
| 66 | 69 | |
| 70 | + /** |
|
| 71 | + * @param string $url |
|
| 72 | + */ |
|
| 67 | 73 | private function isMainPage($url) { |
| 68 | 74 | if ($url == '') { |
| 69 | 75 | $route = new Route(); |
@@ -73,6 +79,9 @@ discard block |
||
| 73 | 79 | } |
| 74 | 80 | } |
| 75 | 81 | |
| 82 | + /** |
|
| 83 | + * @param string $url |
|
| 84 | + */ |
|
| 76 | 85 | private function isRoute($url) { |
| 77 | 86 | $routeUrl = explode('/', $url); |
| 78 | 87 | $last = array_pop($routeUrl); |
@@ -94,7 +103,7 @@ discard block |
||
| 94 | 103 | } |
| 95 | 104 | |
| 96 | 105 | /** |
| 97 | - * @param $url |
|
| 106 | + * @param string $url |
|
| 98 | 107 | * |
| 99 | 108 | * @return bool|Route |
| 100 | 109 | */ |