fix deprecations: getName → getBlockPrefix

This commit is contained in:
nobohan
2018-03-30 14:06:54 +02:00
parent ffd2ee6f69
commit 85018f1927
5 changed files with 19 additions and 17 deletions

View File

@@ -18,7 +18,7 @@ class PermissionsGroupType extends AbstractType
->add('name')
;
}
/**
* @param OptionsResolverInterface $resolver
*/
@@ -32,7 +32,7 @@ class PermissionsGroupType extends AbstractType
/**
* @return string
*/
public function getName()
public function getBlockPrefix()
{
return 'chill_mainbundle_permissionsgroup';
}