Completed
Push — work-fleets ( 8b8b7f...487af6 )
by SuperNova.WS
04:56
created
includes/classes/Fleet.php 1 patch
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -591,6 +591,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
includes/includes/flt_flying_fleet_handler2.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
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
  */
Please login to merge, or discard this patch.
includes/includes/flt_mission_transport.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
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
  *
Please login to merge, or discard this patch.