@@ -591,6 +591,9 @@ discard block |
||
591 | 591 | return max(0, $this->shipsGetCapacity() - $this->resourcesGetTotal()); |
592 | 592 | } |
593 | 593 | |
594 | + /** |
|
595 | + * @param integer $ship_id |
|
596 | + */ |
|
594 | 597 | public function shipsGetTotalById($ship_id) { |
595 | 598 | return $this->unitList->unitsCountById($ship_id); |
596 | 599 | } |
@@ -705,7 +708,7 @@ discard block |
||
705 | 708 | /** |
706 | 709 | * Set current resource list from array of units |
707 | 710 | * |
708 | - * @param array $resource_list |
|
711 | + * @param integer[] $resource_list |
|
709 | 712 | */ |
710 | 713 | public function resourcesSet($resource_list) { |
711 | 714 | if(!empty($this->propertiesAdjusted['resource_list'])) { |
@@ -781,7 +784,6 @@ discard block |
||
781 | 784 | * Restores fleet or resources to planet |
782 | 785 | * |
783 | 786 | * @param bool $start |
784 | - * @param bool $only_resources |
|
785 | 787 | * @param int $result |
786 | 788 | * |
787 | 789 | * @return int |
@@ -10,7 +10,7 @@ |
||
10 | 10 | * |
11 | 11 | * @param Fleet $objFleet |
12 | 12 | * @param bool $start |
13 | - * @param null $result |
|
13 | + * @param integer $result |
|
14 | 14 | * |
15 | 15 | * @return mixed |
16 | 16 | */ |
@@ -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 | * |