@@ -576,7 +576,7 @@ |
||
576 | 576 | } |
577 | 577 | |
578 | 578 | /** |
579 | - * @param $d |
|
579 | + * @param integer $d |
|
580 | 580 | * @param int $n |
581 | 581 | * |
582 | 582 | * @return string |
@@ -113,6 +113,9 @@ discard block |
||
113 | 113 | return 0; |
114 | 114 | } |
115 | 115 | |
116 | + /** |
|
117 | + * @return string |
|
118 | + */ |
|
116 | 119 | public static function landFromLocid($locid) |
117 | 120 | { |
118 | 121 | if (!is_numeric($locid)) { |
@@ -140,6 +143,9 @@ discard block |
||
140 | 143 | return ''; |
141 | 144 | } |
142 | 145 | |
146 | + /** |
|
147 | + * @return string |
|
148 | + */ |
|
143 | 149 | public static function regierungsbezirkFromLocid($locid) |
144 | 150 | { |
145 | 151 | if (!is_numeric($locid)) { |
@@ -166,6 +172,9 @@ discard block |
||
166 | 172 | return ''; |
167 | 173 | } |
168 | 174 | |
175 | + /** |
|
176 | + * @return string |
|
177 | + */ |
|
169 | 178 | public static function landkreisFromLocid($locid) |
170 | 179 | { |
171 | 180 | if (!is_numeric($locid)) { |
@@ -504,6 +504,9 @@ |
||
504 | 504 | ); |
505 | 505 | } |
506 | 506 | |
507 | +/** |
|
508 | + * @param string $watchtext |
|
509 | + */ |
|
507 | 510 | function insert_recommendation($rLog, $language, $watchtext) |
508 | 511 | { |
509 | 512 | global $translate; |
@@ -291,7 +291,7 @@ discard block |
||
291 | 291 | |
292 | 292 | /** |
293 | 293 | * @param int $id |
294 | - * @param $name |
|
294 | + * @param string $name |
|
295 | 295 | */ |
296 | 296 | public function checkGeoKretType($id, $name) |
297 | 297 | { |
@@ -304,7 +304,7 @@ discard block |
||
304 | 304 | |
305 | 305 | /** |
306 | 306 | * @param int $id |
307 | - * @param $name |
|
307 | + * @param string $name |
|
308 | 308 | */ |
309 | 309 | public function checkUser($id, $name) |
310 | 310 | { |
@@ -317,7 +317,7 @@ discard block |
||
317 | 317 | |
318 | 318 | /** |
319 | 319 | * @param int $id |
320 | - * @param $name |
|
320 | + * @param string $name |
|
321 | 321 | */ |
322 | 322 | public function checkMoveType($id, $name) |
323 | 323 | { |
@@ -81,6 +81,10 @@ discard block |
||
81 | 81 | return preg_match('/^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}$/', $datetime); |
82 | 82 | } |
83 | 83 | |
84 | + /** |
|
85 | + * @param integer $level |
|
86 | + * @param string $text |
|
87 | + */ |
|
84 | 88 | private static function message($level, $text) |
85 | 89 | { |
86 | 90 | echo str_repeat(' ', 2 * $level) . $text . "\n"; |
@@ -93,6 +97,11 @@ discard block |
||
93 | 97 | ' AND `' . $table . '`.`' . $field . "` <= '" . sql_escape($this->toDateTime) . "'"; |
94 | 98 | } |
95 | 99 | |
100 | + /** |
|
101 | + * @param string $table |
|
102 | + * @param string $dateField |
|
103 | + * @param string $description |
|
104 | + */ |
|
96 | 105 | private function showObjectCount($table, $dateField, $description, $andWhere = '') |
97 | 106 | { |
98 | 107 | $objectCount = sql_value( |
@@ -716,7 +716,7 @@ |
||
716 | 716 | } |
717 | 717 | |
718 | 718 | /** |
719 | - * @return bool|string |
|
719 | + * @return string|false |
|
720 | 720 | */ |
721 | 721 | public function getPageLink() |
722 | 722 | { |