<commit_before><?php

namespace Doctrine\ODM\PHPCR;

use Doctrine\Common\Collections\Collection;

/**
 * Property collection class
 *
 * This class stores all documents or their proxies referenced by a reference many property 
 */
class ReferenceManyCollection extends PersistentCollection
{
    public function __construct(Collection $coll, $isDirty = false)
    {
        $this->coll = $coll;
        $this->isDirty = $isDirty;
        $this->initialized = true;
    }

    /**
     * Just there to fulfill the interface requirements of PersistentCollection
     */
    public function initialize()
    {
        $this->initialized = true;
    }
}
<commit_msg>Let ReferenceManyCollection inherit from MultivaluePropertyCollection as they have the same functionality<commit_after><?php

namespace Doctrine\ODM\PHPCR;

use Doctrine\Common\Collections\Collection;

/**
 * Property collection class
 *
 * This class stores all documents or their proxies referenced by a reference many property 
 */
class ReferenceManyCollection extends MultivaluePropertyCollection
{

}
{'fraction_non_alphanumeric': 0.07865168539325842, 'fraction_numerical': 0.0, 'mean_word_length': 3.815315315315315, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '4933491', 'n_tokens_mistral': 278, 'n_tokens_neox': 272, 'n_words': 88}