<commit_before><?php

namespace Deploy\Mapper;

use ZfcBase\Mapper\AbstractDbMapper;

class AdditionalFile extends AbstractDbMapper
{
    protected $tableName  = 'additional_files';

    /**
     * Find a additional files for a project ID
     *
     * @param  int                   $id
     * @return \Deploy\Entity\AdditionalFile[]
     */
    public function findByProjectId($projectId, $orderBy = 'order ASC')
    {
        $select = $this->getSelect()->where(['project_id' => $projectId])->order($orderBy);

        $additionalFiles = [];
        foreach ($this->select($select) as $additionalFile) {
            $additionalFiles[] = $additionalFile;
        }

        return $additionalFiles;
    }
}
<commit_msg>Fixed typo in additional file mapper<commit_after><?php

namespace Deploy\Mapper;

use ZfcBase\Mapper\AbstractDbMapper;

class AdditionalFile extends AbstractDbMapper
{
    protected $tableName  = 'additional_files';

    /**
     * Find a additional files for a project ID
     *
     * @param  int                   $id
     * @return \Deploy\Entity\AdditionalFile[]
     */
    public function findByProjectId($projectId)
    {
        $select = $this->getSelect()->where(['project_id' => $projectId]);

        $additionalFiles = [];
        foreach ($this->select($select) as $additionalFile) {
            $additionalFiles[] = $additionalFile;
        }

        return $additionalFiles;
    }
}

{'fraction_non_alphanumeric': 0.12236286919831224, 'fraction_numerical': 0.0, 'mean_word_length': 2.6025316455696204, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 12, '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': '1358672', 'n_tokens_mistral': 415, 'n_tokens_neox': 393, 'n_words': 88}