mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
N°5122 - Minor libs update according to new PHP min version
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user