If you call a service method "create" or "add" without arguments in a form type buildForm method you get a notice "Undefined offset: 0" in FormTypeLabelImplicit.php line 37.
public function buildForm(FormBuilderInterface $builder, array $options)
{
// ...
$someService->create();
// ...
}
count($node->args) should be added as extra condition to the if clause.
If you call a service method "create" or "add" without arguments in a form type buildForm method you get a notice "Undefined offset: 0" in FormTypeLabelImplicit.php line 37.
count($node->args) should be added as extra condition to the if clause.