<?php

namespace App\Http\Helpers;

class UploadedFiles
{

    public static string $rules = 'max:10000|mimes:jpeg,png,doc,docs,pdf,docx';

    public static function getRules($update = false): string
    {
        return $update ? 'nullable|' . self::$rules : self::$rules;
    }
}
