GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Pull Request — master (#100)
by Axel
05:00
created
system/Modules/Ares/Repository/ReportRepository.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -82,6 +82,9 @@
 block discarded – undo
82 82
 		return $this->formatResult($query);
83 83
 	}
84 84
 	
85
+	/**
86
+	 * @param \PDOStatement $statement
87
+	 */
85 88
 	public function formatResult($statement)
86 89
 	{
87 90
 		$currentId = null;
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Asylamba\Modules\Ares\Repository;
4 4
 
5 5
 use Asylamba\Classes\Entity\AbstractRepository;
6
-
7 6
 use Asylamba\Modules\Ares\Model\Report;
8 7
 
9 8
 class ReportRepository extends AbstractRepository {
Please login to merge, or discard this patch.
system/Modules/Athena/Manager/BuildingQueueManager.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use Asylamba\Modules\Athena\Model\BuildingQueue;
15 15
 use Asylamba\Classes\Entity\EntityManager;
16
-
17 16
 use Asylamba\Classes\Scheduler\RealTimeActionScheduler;
18 17
 
19 18
 class BuildingQueueManager {
Please login to merge, or discard this patch.
system/Modules/Athena/Manager/CommercialShippingManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
 	}
59 59
 	
60 60
 	/**
61
-	 * @param type $orbitalBaseId
61
+	 * @param integer $orbitalBaseId
62 62
 	 * @return array
63 63
 	 */
64 64
 	public function getByBase($orbitalBaseId)
Please login to merge, or discard this patch.
system/Modules/Athena/Manager/OrbitalBaseManager.php 2 patches
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -378,6 +378,11 @@
 block discarded – undo
378 378
 		$orbitalBase->technoQueueManager = $this->technologyQueueManager->getFirstSession();
379 379
 	}
380 380
 
381
+	/**
382
+	 * @param integer $id
383
+	 * @param OrbitalBase $base
384
+	 * @param integer $newOwner
385
+	 */
381 386
 	public function changeOwnerById($id, $base, $newOwner, $baseCommanders) {
382 387
 		if ($base->getId() == 0) {
383 388
 			throw new ErrorException('Cette base orbitale n\'existe pas !');
Please login to merge, or discard this patch.
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@  discard block
 block discarded – undo
18 18
 use Asylamba\Classes\Worker\CTC;
19 19
 use Asylamba\Classes\Exception\ErrorException;
20 20
 use Asylamba\Classes\Entity\EntityManager;
21
-
22 21
 use Asylamba\Modules\Gaia\Manager\GalaxyColorManager;
23 22
 use Asylamba\Modules\Athena\Model\Transaction;
24 23
 use Asylamba\Modules\Ares\Model\Commander;
@@ -39,7 +38,6 @@  discard block
 block discarded – undo
39 38
 use Asylamba\Modules\Hermes\Manager\NotificationManager;
40 39
 use Asylamba\Modules\Athena\Helper\OrbitalBaseHelper;
41 40
 use Asylamba\Modules\Demeter\Resource\ColorResource;
42
-
43 41
 use Asylamba\Modules\Athena\Model\RecyclingMission;
44 42
 use Asylamba\Modules\Athena\Model\RecyclingLog;
45 43
 use Asylamba\Modules\Zeus\Model\PlayerBonus;
@@ -47,12 +45,10 @@  discard block
 block discarded – undo
47 45
 use Asylamba\Modules\Zeus\Model\Player;
48 46
 use Asylamba\Modules\Athena\Model\CommercialShipping;
49 47
 use Asylamba\Modules\Hermes\Model\Notification;
50
-
51 48
 use Asylamba\Modules\Athena\Resource\OrbitalBaseResource;
52 49
 use Asylamba\Modules\Promethee\Helper\TechnologyHelper;
53 50
 use Asylamba\Modules\Athena\Resource\ShipResource;
54 51
 use Asylamba\Classes\Library\Flashbag;
55
-
56 52
 use Asylamba\Classes\Scheduler\RealTimeActionScheduler;
57 53
 
58 54
 class OrbitalBaseManager {
Please login to merge, or discard this patch.
system/Modules/Athena/Manager/ShipQueueManager.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 
15 15
 use Asylamba\Classes\Entity\EntityManager;
16 16
 use Asylamba\Classes\Scheduler\RealTimeActionScheduler;
17
-
18 17
 use Asylamba\Modules\Athena\Model\ShipQueue;
19 18
 
20 19
 class ShipQueueManager {
Please login to merge, or discard this patch.
system/Modules/Athena/Manager/TransactionManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 
34 34
 	/**
35 35
 	 * @param EntityManager $entityManager
36
-	 * @param CommercialTaxManaer $commercialTaxManager
36
+	 * @param CommercialTaxManager $commercialTaxManager
37 37
 	 * @param SessionWrapper $session
38 38
 	 */
39 39
 	public function __construct(EntityManager $entityManager, CommercialTaxManager $commercialTaxManager, SessionWrapper $session) {
Please login to merge, or discard this patch.
system/Modules/Athena/Model/OrbitalBase.php 1 patch
Doc Comments   +61 added lines patch added patch discarded remove patch
@@ -135,6 +135,9 @@  discard block
 block discarded – undo
135 135
 	public function getRealRecyclingLevel() { return $this->realRecyclingLevel; }
136 136
 	public function getRealSpatioportLevel() { return $this->realSpatioportLevel; }
137 137
 
138
+	/**
139
+	 * @param integer $buildingNumber
140
+	 */
138 141
 	public function getBuildingLevel($buildingNumber) {
139 142
 		switch ($buildingNumber) {
140 143
 			case 0 : return $this->levelGenerator;
@@ -186,23 +189,81 @@  discard block
 block discarded – undo
186 189
 	public function setPlanetResources($var) { $this->planetResources = $var; }
187 190
 	public function setPlanetHistory($var) { $this->planetHistory = $var; }
188 191
 
192
+	/**
193
+	 * @param double $var
194
+	 */
189 195
 	public function setRemainingTimeGenerator($var) { $this->remainingTimeGenerator = $var; }
196
+
197
+	/**
198
+	 * @param double $var
199
+	 */
190 200
 	public function setRemainingTimeDock1($var) { $this->remainingTimeDock1 = $var; }
201
+
202
+	/**
203
+	 * @param double $var
204
+	 */
191 205
 	public function setRemainingTimeDock2($var) { $this->remainingTimeDock2 = $var; }
206
+
207
+	/**
208
+	 * @param double $var
209
+	 */
192 210
 	public function setRemainingTimeDock3($var) { $this->remainingTimeDock3 = $var; }
193 211
 	public function setRoutesNumber($var) { $this->routesNumber = $var; }
194 212
 	
213
+	/**
214
+	 * @param integer $var
215
+	 */
195 216
 	public function setRealGeneratorLevel($var) { $this->realGeneratorLevel = $var; }
217
+
218
+	/**
219
+	 * @param integer $var
220
+	 */
196 221
 	public function setRealRefineryLevel($var) { $this->realRefineryLevel = $var; }
222
+
223
+	/**
224
+	 * @param integer $var
225
+	 */
197 226
 	public function setRealDock1Level($var) { $this->realDock1Level = $var; }
227
+
228
+	/**
229
+	 * @param integer $var
230
+	 */
198 231
 	public function setRealDock2Level($var) { $this->realDock2Level = $var; }
232
+
233
+	/**
234
+	 * @param integer $var
235
+	 */
199 236
 	public function setRealDock3Level($var) { $this->realDock3Level = $var; }
237
+
238
+	/**
239
+	 * @param integer $var
240
+	 */
200 241
 	public function setRealTechnosphereLevel($var) { $this->realTechnosphereLevel = $var; }
242
+
243
+	/**
244
+	 * @param integer $var
245
+	 */
201 246
 	public function setRealCommercialPlateformeLevel($var) { $this->realCommercialPlateformeLevel = $var; }
247
+
248
+	/**
249
+	 * @param integer $var
250
+	 */
202 251
 	public function setRealStorageLevel($var) { $this->realStorageLevel = $var; }
252
+
253
+	/**
254
+	 * @param integer $var
255
+	 */
203 256
 	public function setRealRecyclingLevel($var) { $this->realRecyclingLevel = $var; }
257
+
258
+	/**
259
+	 * @param integer $var
260
+	 */
204 261
 	public function setRealSpatioportLevel($var) { $this->realSpatioportLevel = $var; }
205 262
 
263
+	/**
264
+	 * @param integer $buildingNumber
265
+	 * @param integer $level
266
+	 */
206 267
 	public function setBuildingLevel($buildingNumber, $level) {
207 268
 		switch ($buildingNumber) {
208 269
 			case 0 : $this->levelGenerator = $level; break;
Please login to merge, or discard this patch.
system/Modules/Athena/Repository/CommercialShippingRepository.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Asylamba\Modules\Athena\Repository;
4 4
 
5 5
 use Asylamba\Classes\Entity\AbstractRepository;
6
-
7 6
 use Asylamba\Modules\Athena\Model\CommercialShipping;
8 7
 
9 8
 class CommercialShippingRepository extends AbstractRepository
Please login to merge, or discard this patch.
system/Modules/Athena/Repository/TransactionRepository.php 2 patches
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -56,8 +56,6 @@
 block discarded – undo
56 56
     
57 57
     /**
58 58
      * @param int $type
59
-     * @param int $statement
60
-     * @param int $limit
61 59
      * @return array
62 60
      */
63 61
     public function getLastCompletedTransaction($type)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Asylamba\Modules\Athena\Repository;
4 4
 
5 5
 use Asylamba\Classes\Entity\AbstractRepository;
6
-
7 6
 use Asylamba\Modules\Athena\Model\Transaction;
8 7
 
9 8
 class TransactionRepository extends AbstractRepository
Please login to merge, or discard this patch.