Modifications après échec controle CI

This commit is contained in:
helicos441
2019-05-19 20:04:41 +02:00
parent bf66afe5fa
commit fc75ffda49
@@ -96,8 +96,7 @@ class ContactDetailsType extends AbstractType
{
$officesCollection = new OfficesCollection();
$offices = ['' => '-Aucune-'];
foreach ($officesCollection->getOrderedLabelsByKey() as $id => $city)
{
foreach ($officesCollection->getOrderedLabelsByKey() as $id => $city) {
$offices[$city] = $id;
}
return $offices;
@@ -106,8 +105,7 @@ class ContactDetailsType extends AbstractType
private function getCountyChoices()
{
$choices = [];
foreach ($this->countryService->obtenirPays() as $id => $country)
{
foreach ($this->countryService->obtenirPays() as $id => $country) {
$choices[$country] = $id;
}
return $choices;