@@ -278,6 +278,9 @@ |
||
278 | 278 | return count($this->ube_side_present_at_round_start); |
279 | 279 | } |
280 | 280 | |
281 | + /** |
|
282 | + * @param integer $round |
|
283 | + */ |
|
281 | 284 | public function ubeAnalyzeFleetOutcome($round) { |
282 | 285 | $this->ube_actualize_sides(); |
283 | 286 |
@@ -7,7 +7,7 @@ discard block |
||
7 | 7 | /** |
8 | 8 | * @param UBE $ube |
9 | 9 | * |
10 | - * @return bool|string |
|
10 | + * @return false|string |
|
11 | 11 | * |
12 | 12 | * @version 2016-02-25 23:42:45 41a4.68 |
13 | 13 | */ |
@@ -186,7 +186,7 @@ discard block |
||
186 | 186 | // ------------------------------------------------------------------------------------------------ |
187 | 187 | // Читает боевой отчет из БД |
188 | 188 | /** |
189 | - * @param $report_cypher |
|
189 | + * @param string $report_cypher |
|
190 | 190 | * |
191 | 191 | * @return string|UBE |
192 | 192 | */ |
@@ -69,8 +69,8 @@ |
||
69 | 69 | |
70 | 70 | /** |
71 | 71 | * @param Fleet $objFleet |
72 | - * @param $ov_label |
|
73 | - * @param $planet_end_type |
|
72 | + * @param integer $ov_label |
|
73 | + * @param integer $planet_end_type |
|
74 | 74 | * |
75 | 75 | * @return mixed |
76 | 76 | */ |
@@ -185,6 +185,9 @@ |
||
185 | 185 | return $result; |
186 | 186 | } |
187 | 187 | |
188 | +/** |
|
189 | + * @param integer $que_id |
|
190 | + */ |
|
188 | 191 | function tpl_parse_planet_que($que, $planet, $que_id) { |
189 | 192 | $hangar_que = array(); |
190 | 193 | $que_hangar = $que['ques'][$que_id][$planet['id_owner']][$planet['id']]; |
@@ -1,5 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | +/** |
|
4 | + * @param string $type |
|
5 | + */ |
|
3 | 6 | function sn_ube_simulator_encode_replay($combat, $type) |
4 | 7 | { |
5 | 8 | $strPacked = "{$type}!"; |
@@ -10,9 +10,8 @@ |
||
10 | 10 | |
11 | 11 | /** |
12 | 12 | * @param Mission $objMission |
13 | - * @param array $mission_data |
|
14 | 13 | * |
15 | - * @return array|null |
|
14 | + * @return null|boolean |
|
16 | 15 | */ |
17 | 16 | function flt_mission_attack($objMission) { |
18 | 17 | $objFleet = $objMission->fleet; |
@@ -31,7 +31,7 @@ |
||
31 | 31 | /** |
32 | 32 | * Fleet mission "Relocate" |
33 | 33 | * |
34 | - * @param $mission_data Mission |
|
34 | + * @param Mission $mission_data Mission |
|
35 | 35 | * |
36 | 36 | * @return int |
37 | 37 | * |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | * @param string $title |
35 | 35 | * @param string $dest |
36 | 36 | * @param int $time |
37 | - * @param bool|true $show_header |
|
37 | + * @param boolean $show_header |
|
38 | 38 | */ |
39 | 39 | function message($mes, $title = 'Error', $dest = '', $time = 5, $show_header = true) { |
40 | 40 | $template = gettemplate('message_body', true); |
@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | * @param bool|true $isDisplayTopNav |
196 | 196 | * @param string $metatags |
197 | 197 | * @param bool|false $AdminPage |
198 | - * @param bool|true $isDisplayMenu |
|
198 | + * @param boolean $isDisplayMenu |
|
199 | 199 | * |
200 | 200 | * @return mixed |
201 | 201 | */ |
@@ -208,7 +208,6 @@ discard block |
||
208 | 208 | * @param string $title |
209 | 209 | * @param bool|true $isDisplayTopNav |
210 | 210 | * @param string $metatags |
211 | - * @param bool|false $AdminPage |
|
212 | 211 | * @param bool|true $isDisplayMenu |
213 | 212 | * @param bool|int|string $exitStatus - Код или сообщение выхода |
214 | 213 | */ |
@@ -385,10 +384,10 @@ discard block |
||
385 | 384 | |
386 | 385 | /** |
387 | 386 | * @param $time |
388 | - * @param $event |
|
387 | + * @param integer $event |
|
389 | 388 | * @param $msg |
390 | 389 | * @param $coordinates |
391 | - * @param $is_decrease |
|
390 | + * @param boolean $is_decrease |
|
392 | 391 | * @param Fleet $objFleet |
393 | 392 | * @param $fleet_flying_sorter |
394 | 393 | * @param $fleet_flying_events |
@@ -708,7 +707,7 @@ discard block |
||
708 | 707 | } |
709 | 708 | |
710 | 709 | /** |
711 | - * @param array|string $files |
|
710 | + * @param string $files |
|
712 | 711 | * @param template|bool $template |
713 | 712 | * @param string|bool $template_path |
714 | 713 | * |
@@ -411,7 +411,7 @@ |
||
411 | 411 | /** |
412 | 412 | * @param array $field_set |
413 | 413 | * |
414 | - * @return int|string |
|
414 | + * @return integer |
|
415 | 415 | */ |
416 | 416 | protected function db_field_set_create(array $field_set) { |
417 | 417 | !sn_db_field_set_is_safe($field_set) ? $field_set = sn_db_field_set_make_safe($field_set) : false; |