public static function createFiles()
    {
        $fixer = new static();
        $files = $fixer->saneFilesArray($_FILES);
        $fixed = [];
        foreach ($files as $key => $data) {
            $fixed[$key] = $fixer->createUploadedFile($data);
        }
        return $fixed;
    }
public static function createFiles()
    {
        $fixer = new static();
        $files = $fixer->saneFilesArray($_FILES);
        $fixed = [];
        foreach ($files as $key => $data) {
            $fixed[$key] = $fixer->createUploadedFile($data);
        }
        return $fixed;
    }
public static function createFiles ( ) { $ fixer = new static ( ) ; $ files = $ fixer -> saneFilesArray ( $ _FILES ) ; $ fixed = [ ] ; foreach ( $ files as $ key => $ data ) { $ fixed [ $ key ] = $ fixer -> createUploadedFile ( $ data ) ; } return $ fixed ; }
Creates the uploaded file objects within a normalized files tree

@return array|UploadedFile[]
Creates the uploaded file objects within a normalized files tree