mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-27 18:13:48 +00:00
Merge branch 'upgrade-sf3' into add_email_and_phone_to_person
This commit is contained in:
@@ -25,7 +25,7 @@ class PersonToIdTransformer implements DataTransformerInterface
|
||||
/**
|
||||
* Transforms an object (issue) to a string (id).
|
||||
*
|
||||
* @param Issue|null $issue
|
||||
* @param Person|null $issue
|
||||
* @return string
|
||||
*/
|
||||
public function transform($issue)
|
||||
@@ -42,7 +42,7 @@ class PersonToIdTransformer implements DataTransformerInterface
|
||||
*
|
||||
* @param string $id
|
||||
*
|
||||
* @return Issue|null
|
||||
* @return Person|null
|
||||
*
|
||||
* @throws TransformationFailedException if object (issue) is not found.
|
||||
*/
|
||||
|
@@ -23,7 +23,8 @@ class GenderType extends AbstractType {
|
||||
|
||||
$a = array(
|
||||
Person::MALE_GENDER => Person::MALE_GENDER,
|
||||
Person::FEMALE_GENDER => Person::FEMALE_GENDER
|
||||
Person::FEMALE_GENDER => Person::FEMALE_GENDER,
|
||||
Person::BOTH_GENDER => Person::BOTH_GENDER
|
||||
);
|
||||
|
||||
$resolver->setDefaults(array(
|
||||
|
Reference in New Issue
Block a user