@@ -33,7 +33,7 @@ |
||
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) { |
@@ -3,7 +3,6 @@ |
||
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 |
@@ -56,8 +56,6 @@ |
||
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) |
@@ -3,7 +3,6 @@ |
||
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 |
@@ -489,6 +489,10 @@ |
||
489 | 489 | $this->entityManager->flush($faction); |
490 | 490 | } |
491 | 491 | |
492 | + /** |
|
493 | + * @param boolean $hadVoted |
|
494 | + * @param integer $convPlayerID |
|
495 | + */ |
|
492 | 496 | public function uMandate(Color $color, $governmentMembers, $newChief, $idOldChief, $hadVoted, $conv, $convPlayerID, $candidate) { |
493 | 497 | # préparation de la conversation |
494 | 498 | $conv->messages++; |
@@ -12,10 +12,8 @@ |
||
12 | 12 | namespace Asylamba\Modules\Demeter\Manager\Election; |
13 | 13 | |
14 | 14 | use Asylamba\Classes\Entity\EntityManager; |
15 | - |
|
16 | 15 | use Asylamba\Modules\Demeter\Model\Election\Election; |
17 | 16 | use Asylamba\Modules\Demeter\Model\Election\Candidate; |
18 | - |
|
19 | 17 | use Asylamba\Modules\Zeus\Model\Player; |
20 | 18 | |
21 | 19 | class CandidateManager { |
@@ -12,10 +12,8 @@ |
||
12 | 12 | namespace Asylamba\Modules\Demeter\Manager\Election; |
13 | 13 | |
14 | 14 | use Asylamba\Classes\Entity\EntityManager; |
15 | - |
|
16 | 15 | use Asylamba\Modules\Demeter\Model\Election\Election; |
17 | 16 | use Asylamba\Modules\Demeter\Model\Election\Vote; |
18 | - |
|
19 | 17 | use Asylamba\Modules\Zeus\Model\Player; |
20 | 18 | |
21 | 19 | class VoteManager { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Asylamba\Modules\Demeter\Repository; |
4 | 4 | |
5 | 5 | use Asylamba\Classes\Entity\AbstractRepository; |
6 | - |
|
7 | 6 | use Asylamba\Modules\Demeter\Resource\ColorResource; |
8 | 7 | use Asylamba\Modules\Demeter\Model\Color; |
9 | 8 |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Asylamba\Modules\Demeter\Repository\Election; |
4 | 4 | |
5 | 5 | use Asylamba\Classes\Entity\AbstractRepository; |
6 | - |
|
7 | 6 | use Asylamba\Modules\Demeter\Model\Election\Election; |
8 | 7 | |
9 | 8 | class ElectionRepository extends AbstractRepository { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Asylamba\Modules\Demeter\Repository\Election; |
4 | 4 | |
5 | 5 | use Asylamba\Classes\Entity\AbstractRepository; |
6 | - |
|
7 | 6 | use Asylamba\Modules\Demeter\Model\Election\Vote; |
8 | 7 | |
9 | 8 | class VoteRepository extends AbstractRepository { |