mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
chore: update Kint to 4.1.3 in ThirdParty
This commit is contained in:
parent
8725d38314
commit
1f732552d2
7
system/ThirdParty/Kint/Parser/Parser.php
vendored
7
system/ThirdParty/Kint/Parser/Parser.php
vendored
@ -34,6 +34,7 @@ use Kint\Zval\ResourceValue;
|
||||
use Kint\Zval\Value;
|
||||
use ReflectionObject;
|
||||
use stdClass;
|
||||
use TypeError;
|
||||
|
||||
class Parser
|
||||
{
|
||||
@ -524,7 +525,11 @@ class Parser
|
||||
}
|
||||
|
||||
$stash = $val;
|
||||
$copy[$i] = $refmarker;
|
||||
try {
|
||||
$copy[$i] = $refmarker;
|
||||
} catch (TypeError $e) {
|
||||
$child->reference = true;
|
||||
}
|
||||
if ($val === $refmarker) {
|
||||
$child->reference = true;
|
||||
$val = $stash;
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user