Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d422939

Browse files
[VarDumper] Fix for 7.1
1 parent 4590759 commit d422939

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/VarDumper/Cloner/VarCloner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ private static function initHashMask()
315315
if (!empty($frame['line'])) {
316316
ob_start();
317317
debug_zval_dump($obj);
318-
self::$hashMask = substr(ob_get_clean(), 17);
318+
self::$hashMask = (int) substr(ob_get_clean(), 17);
319319
}
320320
}
321321

0 commit comments

Comments
 (0)