<commit_before><?php

namespace EscapeWork\LaravelSteroids\Upload;

use EscapeWork\LaravelSteroids\Upload\SanitizeFilenameService;
use EscapeWork\LaravelSteroids\Upload\UploadCollection;
use Symfony\Component\HttpFoundation\File\UploadedFile;

class NormalizeJob extends Job
{
    /**
     * @var EscapeWork\LaravelSteroids\Upload\UploadCollection
     */
    private $collection;

    public function __construct(UploadCollection $collection)
    {
        $this->collection = $collection;
    }

    /**
     * Handle the command.
     *
     * @param  MediaSanitizeCommand  $command
     * @return void
     */
    public function handle($command, $next)
    {
        $files = $this->parseFilesIntoArray($command->files());

        $this->normalizeFiles($files);

        $command->files($this->collection);
<commit_msg>Fixed parameter missing bug<commit_after><?php

namespace EscapeWork\LaravelSteroids\Upload;

use EscapeWork\LaravelSteroids\Upload\SanitizeFilenameService;
use EscapeWork\LaravelSteroids\Upload\UploadCollection;
use Symfony\Component\HttpFoundation\File\UploadedFile;

class NormalizeJob extends Job
{
    /**
     * @var EscapeWork\LaravelSteroids\Upload\UploadCollection
     */
    private $collection;

    public function __construct(UploadCollection $collection)
    {
        $this->collection = $collection;
    }

    /**
     * Handle the command.
     *
     * @param  MediaSanitizeCommand  $command
     * @return void
     */
    public function handle($command, $next)
    {
        $files = $this->parseFilesIntoArray($command->files());

        $this->normalizeFiles($files, $command);
        $command->files($this->collection);

{'fraction_non_alphanumeric': 0.11237298266586969, 'fraction_numerical': 0.0, 'mean_word_length': 3.405263157894737, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, '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': '1333023', 'n_tokens_mistral': 492, 'n_tokens_neox': 482, 'n_words': 82}