@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | * |
| 94 | 94 | * @param string $name |
| 95 | 95 | * @param string $matricule |
| 96 | - * @param SDIS62\Core\Ops\Entity\Centre $centre |
|
| 96 | + * @param Centre $centre |
|
| 97 | 97 | */ |
| 98 | 98 | public function __construct($name, $matricule, Centre $centre) |
| 99 | 99 | { |
@@ -173,7 +173,7 @@ discard block |
||
| 173 | 173 | /** |
| 174 | 174 | * Ajout d'une plage horaire. |
| 175 | 175 | * |
| 176 | - * @param SDIS62\Core\Ops\Entity\PlageHoraire $plage_horaire |
|
| 176 | + * @param PlageHoraire $plage_horaire |
|
| 177 | 177 | * |
| 178 | 178 | * @return self |
| 179 | 179 | */ |
@@ -238,6 +238,7 @@ discard block |
||
| 238 | 238 | * Set the value of Nom du pompier. |
| 239 | 239 | * |
| 240 | 240 | * @param string name |
| 241 | + * @param string $name |
|
| 241 | 242 | * |
| 242 | 243 | * @return self |
| 243 | 244 | */ |
@@ -285,7 +286,7 @@ discard block |
||
| 285 | 286 | /** |
| 286 | 287 | * Ajoute un engagement au pompier. |
| 287 | 288 | * |
| 288 | - * @param SDIS62\Core\Ops\Entity\Engagement\PompierEngagement $engagement |
|
| 289 | + * @param PompierEngagement $engagement |
|
| 289 | 290 | * |
| 290 | 291 | * @return self |
| 291 | 292 | */ |
@@ -378,7 +379,7 @@ discard block |
||
| 378 | 379 | /** |
| 379 | 380 | * Get the value of Etat du pompier. |
| 380 | 381 | * |
| 381 | - * @return SDIS62\Core\Ops\Entity\Statut |
|
| 382 | + * @return Statut |
|
| 382 | 383 | */ |
| 383 | 384 | public function getStatut() |
| 384 | 385 | { |
@@ -436,7 +437,7 @@ discard block |
||
| 436 | 437 | /** |
| 437 | 438 | * Set the value of Coordonnées du pompier. |
| 438 | 439 | * |
| 439 | - * @param SDIS62\Core\Ops\Entity\Coordinates $coordinates |
|
| 440 | + * @param Coordinates $coordinates |
|
| 440 | 441 | * |
| 441 | 442 | * @return self |
| 442 | 443 | */ |
@@ -4,10 +4,10 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Datetime; |
| 6 | 6 | use Doctrine\Common\Collections\ArrayCollection; |
| 7 | -use libphonenumber\PhoneNumberFormat; |
|
| 8 | -use libphonenumber\PhoneNumberUtil; |
|
| 9 | 7 | use SDIS62\Core\Ops\Entity\Engagement\PompierEngagement; |
| 10 | 8 | use SDIS62\Core\Ops\Exception\InvalidPhoneNumberException; |
| 9 | +use libphonenumber\PhoneNumberFormat; |
|
| 10 | +use libphonenumber\PhoneNumberUtil; |
|
| 11 | 11 | |
| 12 | 12 | class Pompier |
| 13 | 13 | { |
@@ -11,8 +11,8 @@ |
||
| 11 | 11 | /** |
| 12 | 12 | * Initialisation du service avec les repository utilisés. |
| 13 | 13 | * |
| 14 | - * @param SDIS62\Core\Ops\Repository\CentreRepositoryInterface $centre_repository |
|
| 15 | - * @param SDIS62\Core\Ops\Repository\CommuneRepositoryInterface $commune_repository |
|
| 14 | + * @param CentreRepositoryInterface $centre_repository |
|
| 15 | + * @param CommuneRepositoryInterface $commune_repository |
|
| 16 | 16 | */ |
| 17 | 17 | public function __construct(CentreRepositoryInterface $centre_repository, |
| 18 | 18 | CommuneRepositoryInterface $commune_repository |
@@ -10,7 +10,7 @@ |
||
| 10 | 10 | /** |
| 11 | 11 | * Initialisation du service avec les repository utilisés. |
| 12 | 12 | * |
| 13 | - * @param SDIS62\Core\Ops\Repository\CommuneRepositoryInterface $commune_repository |
|
| 13 | + * @param CommuneRepositoryInterface $commune_repository |
|
| 14 | 14 | */ |
| 15 | 15 | public function __construct(CommuneRepositoryInterface $commune_repository) |
| 16 | 16 | { |
@@ -14,10 +14,10 @@ |
||
| 14 | 14 | /** |
| 15 | 15 | * Initialisation du service avec les repository utilisés. |
| 16 | 16 | * |
| 17 | - * @param SDIS62\Core\Ops\Repository\EngagementRepositoryInterface $engagement_repository |
|
| 18 | - * @param SDIS62\Core\Ops\Repository\MaterielRepositoryInterface $intervention_repository |
|
| 19 | - * @param SDIS62\Core\Ops\Repository\InterventionRepositoryInterface $intervention_repository |
|
| 20 | - * @param SDIS62\Core\Ops\Repository\PompierRepositoryInterface $pompier_repository |
|
| 17 | + * @param EngagementRepositoryInterface $engagement_repository |
|
| 18 | + * @param InterventionRepositoryInterface $intervention_repository |
|
| 19 | + * @param InterventionRepositoryInterface $intervention_repository |
|
| 20 | + * @param PompierRepositoryInterface $pompier_repository |
|
| 21 | 21 | */ |
| 22 | 22 | public function __construct(EngagementRepositoryInterface $engagement_repository, |
| 23 | 23 | MaterielRepositoryInterface $materiel_repository, |
@@ -12,8 +12,8 @@ discard block |
||
| 12 | 12 | /** |
| 13 | 13 | * Initialisation du service avec les repository utilisés. |
| 14 | 14 | * |
| 15 | - * @param SDIS62\Core\Ops\Repository\EvenementRepositoryInterface $evenement_repository |
|
| 16 | - * @param SDIS62\Core\Ops\Repository\InterventionRepositoryInterface $intervention_repository |
|
| 15 | + * @param EvenementRepositoryInterface $evenement_repository |
|
| 16 | + * @param InterventionRepositoryInterface $intervention_repository |
|
| 17 | 17 | */ |
| 18 | 18 | public function __construct(EvenementRepositoryInterface $evenement_repository, |
| 19 | 19 | InterventionRepositoryInterface $intervention_repository, |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | * @param string $type |
| 43 | 43 | * @param array $data |
| 44 | 44 | * |
| 45 | - * @return SDIS62\Core\Ops\Entity\Evenement |
|
| 45 | + * @return null|Evenement |
|
| 46 | 46 | */ |
| 47 | 47 | public function create($type, $data) |
| 48 | 48 | { |
@@ -13,9 +13,9 @@ |
||
| 13 | 13 | /** |
| 14 | 14 | * Initialisation du service avec les repository utilisés. |
| 15 | 15 | * |
| 16 | - * @param SDIS62\Core\Ops\Repository\InterventionRepositoryInterface $intervention_repository |
|
| 17 | - * @param SDIS62\Core\Ops\Repository\SinistreRepositoryInterface $sinistre_repository |
|
| 18 | - * @param SDIS62\Core\Ops\Repository\CommuneRepositoryInterface $commune_repository |
|
| 16 | + * @param InterventionRepositoryInterface $intervention_repository |
|
| 17 | + * @param SinistreRepositoryInterface $sinistre_repository |
|
| 18 | + * @param CommuneRepositoryInterface $commune_repository |
|
| 19 | 19 | */ |
| 20 | 20 | public function __construct(InterventionRepositoryInterface $intervention_repository, |
| 21 | 21 | SinistreRepositoryInterface $sinistre_repository, |
@@ -13,8 +13,8 @@ |
||
| 13 | 13 | /** |
| 14 | 14 | * Initialisation du service avec les repository utilisés. |
| 15 | 15 | * |
| 16 | - * @param SDIS62\Core\Ops\Repository\MaterielRepositoryInterface $materiel_repository |
|
| 17 | - * @param SDIS62\Core\Ops\Repository\CentreRepositoryInterface $centre_repository |
|
| 16 | + * @param MaterielRepositoryInterface $materiel_repository |
|
| 17 | + * @param CentreRepositoryInterface $centre_repository |
|
| 18 | 18 | */ |
| 19 | 19 | public function __construct(MaterielRepositoryInterface $materiel_repository, |
| 20 | 20 | CentreRepositoryInterface $centre_repository |
@@ -14,9 +14,9 @@ |
||
| 14 | 14 | /** |
| 15 | 15 | * Initialisation du service avec les repository utilisés. |
| 16 | 16 | * |
| 17 | - * @param SDIS62\Core\Ops\Repository\PlageHoraireRepositoryInterface $plagehoraire_repository |
|
| 18 | - * @param SDIS62\Core\Ops\Repository\PompierRepositoryInterface $pompier_repository |
|
| 19 | - * @param SDIS62\Core\Ops\Repository\PlanningRepositoryInterface $planning_repository |
|
| 17 | + * @param PlageHoraireRepositoryInterface $plagehoraire_repository |
|
| 18 | + * @param PompierRepositoryInterface $pompier_repository |
|
| 19 | + * @param PlanningRepositoryInterface $planning_repository |
|
| 20 | 20 | */ |
| 21 | 21 | public function __construct(PlageHoraireRepositoryInterface $plagehoraire_repository, |
| 22 | 22 | PompierRepositoryInterface $pompier_repository, |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace SDIS62\Core\Ops\Service; |
| 4 | 4 | |
| 5 | -use Datetime; |
|
| 6 | 5 | use SDIS62\Core\Ops\Entity\PlageHoraire; |
| 7 | 6 | use SDIS62\Core\Ops\Exception\InvalidPlageHoraireTypeException; |
| 8 | 7 | use SDIS62\Core\Ops\Repository\PlageHoraireRepositoryInterface; |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | /** |
| 12 | 12 | * Initialisation du service avec les repository utilisés. |
| 13 | 13 | * |
| 14 | - * @param SDIS62\Core\Ops\Repository\PlanningRepositoryInterface $planning_repository |
|
| 14 | + * @param PlanningRepositoryInterface $planning_repository |
|
| 15 | 15 | */ |
| 16 | 16 | public function __construct(PlanningRepositoryInterface $planning_repository) |
| 17 | 17 | { |