public function validate(string $attribute, mixed $value, Closure $fail): void 	{ 		if (!$value) { 			return; 		}  		if (!$this->checkUrlExtension($value)) { 			$fail('validation.mimes')->translate(['attribute' => $attribute, 'values' => implode(', ', $this->extensions)]); 		} 	}