<commit_before><?php

namespace DTA\MetadataBundle\Form\Data;

use Propel\PropelBundle\Form\BaseAbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use DTA\MetadataBundle\Form\DerivedType\SelectOrAddType;

class VolumeType extends BaseAbstractType
{
    protected $options = array(
        'data_class' => 'DTA\MetadataBundle\Model\Data\Volume',
        'name'       => 'volume',
    );

    /**
     * {@inheritdoc}
     */
    public function buildForm(FormBuilderInterface $builder, array $options)
    {
        $builder->add('publication', new PublicationType());
        $builder->add('volume_description');
        $builder->add('volume_numeric');
        $builder->add('parentPublication', new SelectOrAddType(), array(
                'class' => 'DTA\MetadataBundle\Model\Data\MultiVolume',
                'property' => 'FirstAuthorName',
                'required' => false,
            ));
    }
}<commit_msg> changed 'property' => 'TitleString'<commit_after><?php

namespace DTA\MetadataBundle\Form\Data;

use Propel\PropelBundle\Form\BaseAbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use DTA\MetadataBundle\Form\DerivedType\SelectOrAddType;

class VolumeType extends BaseAbstractType
{
    protected $options = array(
        'data_class' => 'DTA\MetadataBundle\Model\Data\Volume',
        'name'       => 'volume',
    );

    /**
     * {@inheritdoc}
     */
    public function buildForm(FormBuilderInterface $builder, array $options)
    {
        $builder->add('publication', new PublicationType());
        $builder->add('volume_description');
        $builder->add('volume_numeric');
        $builder->add('parentPublication', new SelectOrAddType(), array(
                'class' => 'DTA\MetadataBundle\Model\Data\MultiVolume',
                'property' => 'TitleString',
                'required' => false,
            ));
    }
}
{'fraction_non_alphanumeric': 0.13807753584705257, 'fraction_numerical': 0.0, 'mean_word_length': 2.966315789473684, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 22, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7479563', 'n_tokens_mistral': 538, 'n_tokens_neox': 526, 'n_words': 87}