@@ -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 @@ |
||
| 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 | */ |
@@ -151,6 +151,9 @@ |
||
| 151 | 151 | } |
| 152 | 152 | |
| 153 | 153 | |
| 154 | + /** |
|
| 155 | + * @param integer $user_id |
|
| 156 | + */ |
|
| 154 | 157 | public function __construct($user_id) { |
| 155 | 158 | $this->user_change($user_id); |
| 156 | 159 | } |
@@ -14,7 +14,6 @@ |
||
| 14 | 14 | * |
| 15 | 15 | * @param Fleet $objFleet |
| 16 | 16 | * @param bool $start |
| 17 | - * @param null $result |
|
| 18 | 17 | * |
| 19 | 18 | * @return mixed |
| 20 | 19 | */ |
@@ -9,7 +9,6 @@ |
||
| 9 | 9 | |
| 10 | 10 | /** |
| 11 | 11 | * @param Mission $objMission |
| 12 | - * @param array $mission_data |
|
| 13 | 12 | */ |
| 14 | 13 | function flt_mission_attack($objMission) { |
| 15 | 14 | $objFleet = $objMission->fleet; |
@@ -64,6 +64,10 @@ discard block |
||
| 64 | 64 | * |
| 65 | 65 | */ |
| 66 | 66 | // DEPRECATED |
| 67 | + |
|
| 68 | + /** |
|
| 69 | + * @param boolean $for_update |
|
| 70 | + */ |
|
| 67 | 71 | public static function dbGetFleetList($where_safe = '', $for_update = DB_SELECT_FOR_UPDATE) { |
| 68 | 72 | $fleetList = new static(); |
| 69 | 73 | $fleetList->dbLoadWhere($where_safe, $for_update); |
@@ -246,6 +250,7 @@ discard block |
||
| 246 | 250 | * LIST - Get missile attack list by condition |
| 247 | 251 | * |
| 248 | 252 | * @param string $where |
| 253 | + * @param boolean $for_update |
|
| 249 | 254 | */ |
| 250 | 255 | public function dbMergeMissileList($where, $for_update = DB_SELECT_FOR_UPDATE) { |
| 251 | 256 | $query = classSupernova::$db->doSelect( |
@@ -820,7 +820,7 @@ discard block |
||
| 820 | 820 | |
| 821 | 821 | |
| 822 | 822 | /** |
| 823 | - * @return int |
|
| 823 | + * @return boolean |
|
| 824 | 824 | */ |
| 825 | 825 | protected function checkExpeditionsMax() { |
| 826 | 826 | return get_player_max_expeditons($this->fleet->dbOwnerRow) > 0; |
@@ -920,6 +920,10 @@ discard block |
||
| 920 | 920 | $this->checkMissionExact($missionType); |
| 921 | 921 | } |
| 922 | 922 | |
| 923 | + /** |
|
| 924 | + * @param integer $missionType |
|
| 925 | + * @param boolean $result |
|
| 926 | + */ |
|
| 923 | 927 | protected function checkMissionResultAndUnset($missionType, $result, $forceMission = false) { |
| 924 | 928 | $this->unsetMission($missionType, $result, $forceMission); |
| 925 | 929 | |
@@ -979,7 +979,7 @@ discard block |
||
| 979 | 979 | /** |
| 980 | 980 | * Set current resource list from array of units |
| 981 | 981 | * |
| 982 | - * @param array $resource_list |
|
| 982 | + * @param integer[] $resource_list |
|
| 983 | 983 | */ |
| 984 | 984 | public function resourcesSet($resource_list) { |
| 985 | 985 | if (!empty($this->propertiesAdjusted['resource_list'])) { |
@@ -1027,7 +1027,7 @@ discard block |
||
| 1027 | 1027 | } |
| 1028 | 1028 | |
| 1029 | 1029 | /** |
| 1030 | - * @param array $rate |
|
| 1030 | + * @param integer[] $rate |
|
| 1031 | 1031 | * |
| 1032 | 1032 | * @return float |
| 1033 | 1033 | */ |
@@ -1058,8 +1058,6 @@ discard block |
||
| 1058 | 1058 | * Restores fleet or resources to planet |
| 1059 | 1059 | * |
| 1060 | 1060 | * @param bool $start |
| 1061 | - * @param bool $only_resources |
|
| 1062 | - * @param int $result |
|
| 1063 | 1061 | */ |
| 1064 | 1062 | public function resourcesUnload($start = true) { |
| 1065 | 1063 | sn_db_transaction_check(true); |
@@ -213,7 +213,7 @@ |
||
| 213 | 213 | /** |
| 214 | 214 | * @param int|string $dbId |
| 215 | 215 | * |
| 216 | - * @return V2FleetContainer|false |
|
| 216 | + * @return V2FleetContainer |
|
| 217 | 217 | */ |
| 218 | 218 | public function loadById($dbId) { |
| 219 | 219 | /** |