mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-03-01 19:49:40 +00:00
Rector changes and immplementations of required methods
This commit is contained in:
@@ -52,17 +52,17 @@ class LoadCustomFields extends AbstractFixture implements OrderedFixtureInterfac
|
||||
$manager->flush();
|
||||
}
|
||||
|
||||
private function createCustomFieldChoice()
|
||||
private function createCustomFieldChoice(): \Chill\CustomFieldsBundle\CustomFields\CustomFieldChoice
|
||||
{
|
||||
return $this->customFieldChoice;
|
||||
}
|
||||
|
||||
private function createCustomFieldText()
|
||||
private function createCustomFieldText(): \Chill\CustomFieldsBundle\CustomFields\CustomFieldText
|
||||
{
|
||||
return $this->customFieldText;
|
||||
}
|
||||
|
||||
private function loadData(ObjectManager $manager)
|
||||
private function loadData(ObjectManager $manager): void
|
||||
{
|
||||
$personIds = $this->entityManager
|
||||
->createQuery('SELECT person.id FROM ChillPersonBundle:Person person')
|
||||
@@ -91,7 +91,7 @@ class LoadCustomFields extends AbstractFixture implements OrderedFixtureInterfac
|
||||
}
|
||||
}
|
||||
|
||||
private function loadFields(ObjectManager $manager)
|
||||
private function loadFields(ObjectManager $manager): void
|
||||
{
|
||||
$cfGroup = (new CustomFieldsGroup())
|
||||
->setEntity(Person::class)
|
||||
|
||||
Reference in New Issue
Block a user