mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-19 13:08:40 +00:00
remove old exception
This commit is contained in:
parent
afe83cb82c
commit
71100a4634
|
|
@ -16,7 +16,7 @@ namespace phpOMS\Message\Mail;
|
|||
|
||||
use phpOMS\System\CharsetType;
|
||||
use phpOMS\System\MimeType;
|
||||
use phpOMS\Utils\StringUtils;
|
||||
use phpOMS\Utils\MbStringUtils;
|
||||
|
||||
/**
|
||||
* Mail class.
|
||||
|
|
@ -873,7 +873,7 @@ class Mail
|
|||
if ($spaces > 20) {
|
||||
$len = $spaces;
|
||||
if ($isUTF8) {
|
||||
$len = StringUtils::utf8CharBoundary($word, $len);
|
||||
$len = MbStringUtils::utf8CharBoundary($word, $len);
|
||||
} elseif ('=' === \substr($word, $len - 1, 1)) {
|
||||
--$len;
|
||||
} elseif ('=' === \substr($word, $len - 2, 1)) {
|
||||
|
|
@ -899,7 +899,7 @@ class Mail
|
|||
$len = $length;
|
||||
|
||||
if ($isUTF8) {
|
||||
$len = StringUtils::utf8CharBoundary($word, $len);
|
||||
$len = MbStringUtils::utf8CharBoundary($word, $len);
|
||||
} elseif ('=' === \substr($word, $len - 1, 1)) {
|
||||
--$len;
|
||||
} elseif ('=' === \substr($word, $len - 2, 1)) {
|
||||
|
|
|
|||
|
|
@ -105,8 +105,7 @@ final class Permutation
|
|||
*
|
||||
* @return mixed
|
||||
*
|
||||
* @throws \InvalidArgumentException This exception is thrown if the $toPermute argument is neither array or string
|
||||
* @throws \OutOfBoundsException This exception is thrown if the permutation key is larger than the data to permute
|
||||
* @throws \OutOfBoundsException This exception is thrown if the permutation key is larger than the data to permute
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user