<commit_before><?php
/**
 * 
 * This file is part of the Aura project for PHP.
 * 
 * @package Aura.Marshal
 * 
 * @license http://opensource.org/licenses/bsd-license.php BSD
 * 
 */
namespace Aura\Marshal\Collection;
use Aura\Marshal\Type\GenericType;

/**
 * 
 * Creates a new collection object for a type.
 * 
 * @package Aura.Marshal
 * 
 */
class Builder implements BuilderInterface
{
    /**
     * 
     * Creates a new collection object.
     * 
     * @param GenericType $type The type for this collection.
     * 
     * @param array $data Data to load into the collection.
     * 
     * @return GenericCollection
     * 
     */
    public function newInstance(GenericType $type, array $data)
    {
        return new GenericCollection($data, $type);
    }
}
 <commit_msg>other than spacing issue with type hint<commit_after><?php
/**
 * 
 * This file is part of the Aura project for PHP.
 * 
 * @package Aura.Marshal
 * 
 * @license http://opensource.org/licenses/bsd-license.php BSD
 * 
 */
namespace Aura\Marshal\Collection;

use Aura\Marshal\Type\GenericType;

/**
 * 
 * Creates a new collection object for a type.
 * 
 * @package Aura.Marshal
 * 
 */
class Builder implements BuilderInterface
{
    /**
     * 
     * Creates a new collection object.
     * 
     * @param GenericType $type The type for this collection.
     * 
     * @param array $data Data to load into the collection.
     * 
     * @return GenericCollection
     * 
     */
    public function newInstance(GenericType $type, array $data)
    {
        return new GenericCollection($data, $type);
    }
}

{'fraction_non_alphanumeric': 0.10790464240903387, 'fraction_numerical': 0.0, 'mean_word_length': 2.474945533769063, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '3091928', 'n_tokens_mistral': 485, 'n_tokens_neox': 459, 'n_words': 142}