<commit_before><?php

declare(strict_types=1);

namespace Gaur\HTTP\FileUpload;

trait MimesTrait
{
    /**
     * Mime types list
     *
     * @var array
     */
    protected $mimes = [
        'image/jpeg' => [
            'jpeg',
            'jpg'
        ],
        'image/png' => [
            'png'
        ]
    ];

    /**
     * Get extension appropiate for a mime type
     *
     * @param string $mimeType mime type
     *
     * @return array
     */
    protected function getMimeExtension(string $mimeType): array
    {
        $mimeExt = [];

        if (isset($this->mimes[$mimeType])) {
            $mimeExt = $this->mimes[$mimeType];
        }<commit_msg>Fix typo<commit_after><?php

declare(strict_types=1);

namespace Gaur\HTTP\FileUpload;

trait MimesTrait
{
    /**
     * Mime types list
     *
     * @var array
     */
    protected $mimes = [
        'image/jpeg' => [
            'jpeg',
            'jpg'
        ],
        'image/png' => [
            'png'
        ]
    ];

    /**
     * Get extension appropriate for a mime type
     *
     * @param string $mimeType mime type
     *
     * @return array
     */
    protected function getMimeExtension(string $mimeType): array
    {
        $mimeExt = [];

        if (isset($this->mimes[$mimeType])) {
            $mimeExt = $this->mimes[$mimeType];
        }
{'fraction_non_alphanumeric': 0.13818722139673106, 'fraction_numerical': 0.0014858841010401188, 'mean_word_length': 1.5608365019011408, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '3298844', 'n_tokens_mistral': 447, 'n_tokens_neox': 427, 'n_words': 85}