Update emailcollector.class.php

This commit is contained in:
Laurent Destailleur 2020-01-28 20:36:28 +01:00 committed by GitHub
parent c169632f7b
commit b2256620c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2048,10 +2048,11 @@ class EmailCollector extends CommonObject
/**
* Converts a string from one encoding to another.
* @param string $string
* @param string $fromEncoding
* @param string $toEncoding
* @return string Converted string if conversion was successful, or the original string if not
*
* @param string $string String to convert
* @param string $fromEncoding String encoding
* @param string $toEncoding String return encoding
* @return string Converted string if conversion was successful, or the original string if not
* @throws Exception
*/
protected function convertStringEncoding($string, $fromEncoding, $toEncoding = 'UTF-8')