N°5122 - Minor libs update according to new PHP min version

This commit is contained in:
Molkobain
2022-08-23 11:26:47 +02:00
parent 7b60c9c71a
commit bbb5b86864
15 changed files with 182 additions and 240 deletions

View File

@@ -245,7 +245,7 @@ class Iconv extends AbstractStringWrapper
*/
public function substr($str, $offset = 0, $length = null)
{
$length = $length ?? $this->strlen($str);
$length ??= $this->strlen($str);
assert($length !== false);
return iconv_substr($str, $offset, $length, $this->getEncoding());