@@ -31,6 +31,11 @@ discard block |
||
| 31 | 31 | } |
| 32 | 32 | |
| 33 | 33 | if (!function_exists('bindtextdomain')) { |
| 34 | + |
|
| 35 | + /** |
|
| 36 | + * @param string $domain |
|
| 37 | + * @param string $directory |
|
| 38 | + */ |
|
| 34 | 39 | function bindtextdomain($domain, $directory) |
| 35 | 40 | { |
| 36 | 41 | // dummy function for travis |
@@ -38,6 +43,10 @@ discard block |
||
| 38 | 43 | } |
| 39 | 44 | |
| 40 | 45 | if (!function_exists('textdomain')) { |
| 46 | + |
|
| 47 | + /** |
|
| 48 | + * @param string $domain |
|
| 49 | + */ |
|
| 41 | 50 | function textdomain($domain) |
| 42 | 51 | { |
| 43 | 52 | // dummy function for travis |
@@ -45,6 +54,10 @@ discard block |
||
| 45 | 54 | } |
| 46 | 55 | |
| 47 | 56 | if (!function_exists('gettext')) { |
| 57 | + |
|
| 58 | + /** |
|
| 59 | + * @param string $message |
|
| 60 | + */ |
|
| 48 | 61 | function gettext($message) |
| 49 | 62 | { |
| 50 | 63 | // dummy function for travis |
@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | } |
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | - * @param $userCountry |
|
| 20 | + * @param string $userCountry |
|
| 21 | 21 | */ |
| 22 | 22 | public function set_userCountry($userCountry) |
| 23 | 23 | { |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | * |
| 42 | 42 | * @param string $type type of the "new"-information, i.e. cache, event, rating, etc |
| 43 | 43 | * @param array $args numeric array containing the parameter for "sql_slave" |
| 44 | - * @return object mysql result used by smarty assign_rs |
|
| 44 | + * @return resource|null mysql result used by smarty assign_rs |
|
| 45 | 45 | */ |
| 46 | 46 | public function rsForSmarty($type, $args = null) |
| 47 | 47 | { |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | * cacheRs executes the database statements for type "cache" |
| 90 | 90 | * |
| 91 | 91 | * @param array $args numeric array containing the parameter for "sql_slave" |
| 92 | - * @return object mysql result used by smarty assign_rs |
|
| 92 | + * @return resource mysql result used by smarty assign_rs |
|
| 93 | 93 | */ |
| 94 | 94 | private function cacheRs($args = null) |
| 95 | 95 | { |
@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | * eventRs executes the database statements for type "event" |
| 144 | 144 | * |
| 145 | 145 | * @param array $args numeric array containing the parameter for "sql_slave" |
| 146 | - * @return object mysql result used by smarty assign_rs |
|
| 146 | + * @return resource mysql result used by smarty assign_rs |
|
| 147 | 147 | */ |
| 148 | 148 | private function eventRs($args = null) |
| 149 | 149 | { |
@@ -215,7 +215,7 @@ discard block |
||
| 215 | 215 | * ratingRs executes the database statements for type "rating" |
| 216 | 216 | * |
| 217 | 217 | * @param array $args numeric array containing the parameter for "sql_slave" |
| 218 | - * @return object mysql result used by smarty assign_rs |
|
| 218 | + * @return resource mysql result used by smarty assign_rs |
|
| 219 | 219 | */ |
| 220 | 220 | private function ratingRs($args = null) |
| 221 | 221 | { |
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | * Use {page} in link_url als placeholder for the selected page number |
| 22 | 22 | * and/or {offset} for the 0-based data offset of the selected page. |
| 23 | 23 | * |
| 24 | - * @param $link_url |
|
| 24 | + * @param string $link_url |
|
| 25 | 25 | * @param int $min_pages_shown |
| 26 | 26 | * @param int $max_pages_shown |
| 27 | 27 | */ |
@@ -38,8 +38,8 @@ discard block |
||
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | /** |
| 41 | - * @param $current_page |
|
| 42 | - * @param $total_pages |
|
| 41 | + * @param double $current_page |
|
| 42 | + * @param double $total_pages |
|
| 43 | 43 | * @param bool $page_size |
| 44 | 44 | */ |
| 45 | 45 | public function make_from_pagenr($current_page, $total_pages, $page_size = false) |
@@ -110,7 +110,7 @@ discard block |
||
| 110 | 110 | |
| 111 | 111 | /** |
| 112 | 112 | * @param $page |
| 113 | - * @param $page_size |
|
| 113 | + * @param boolean $page_size |
|
| 114 | 114 | * |
| 115 | 115 | * @return string |
| 116 | 116 | */ |
@@ -292,7 +292,7 @@ discard block |
||
| 292 | 292 | |
| 293 | 293 | /** |
| 294 | 294 | * @param integer $id |
| 295 | - * @param $name |
|
| 295 | + * @param string $name |
|
| 296 | 296 | */ |
| 297 | 297 | public function checkGeoKretType($id, $name) |
| 298 | 298 | { |
@@ -306,7 +306,7 @@ discard block |
||
| 306 | 306 | |
| 307 | 307 | /** |
| 308 | 308 | * @param integer $id |
| 309 | - * @param $name |
|
| 309 | + * @param string $name |
|
| 310 | 310 | */ |
| 311 | 311 | public function checkUser($id, $name) |
| 312 | 312 | { |
@@ -320,7 +320,7 @@ discard block |
||
| 320 | 320 | |
| 321 | 321 | /** |
| 322 | 322 | * @param integer $id |
| 323 | - * @param $name |
|
| 323 | + * @param string $name |
|
| 324 | 324 | */ |
| 325 | 325 | public function checkMoveType($id, $name) |
| 326 | 326 | { |