mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-01 06:26:15 +00:00
csfixes
This commit is contained in:
parent
c416f1ef6d
commit
530297bc67
@ -11,7 +11,6 @@ declare(strict_types=1);
|
||||
|
||||
namespace Chill\ThirdPartyBundle\Serializer\Normalizer;
|
||||
|
||||
use Chill\MainBundle\Templating\TranslatableStringHelper;
|
||||
use Chill\MainBundle\Templating\TranslatableStringHelperInterface;
|
||||
use Chill\ThirdPartyBundle\Entity\ThirdParty;
|
||||
use Chill\ThirdPartyBundle\Entity\ThirdPartyCategory;
|
||||
@ -53,12 +52,12 @@ class ThirdPartyNormalizer implements NormalizerAwareInterface, NormalizerInterf
|
||||
'text' => $this->translatableStringHelper->localize($el->getName()),
|
||||
'type' => 'thirdparty_category',
|
||||
];
|
||||
} else {
|
||||
}
|
||||
|
||||
return [
|
||||
'text' => $el,
|
||||
'type' => 'thirdparty_kind',
|
||||
];
|
||||
}
|
||||
}, $thirdParty->getTypesAndCategories()),
|
||||
'profession' => $this->normalizer->normalize($thirdParty->getProfession(), $format, $context),
|
||||
'address' => $this->normalizer->normalize($thirdParty->getAddress(), $format, ['address_rendering' => 'short']),
|
||||
|
Loading…
x
Reference in New Issue
Block a user