We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 106102f + b50e566 commit 3878fecCopy full SHA for 3878fec
1 file changed
system/ThirdParty/Kint/Parser/Parser.php
@@ -192,6 +192,10 @@ public function haltParse()
192
193
public function childHasPath(InstanceValue $parent, Value $child)
194
{
195
+ if ('__PHP_Incomplete_Class' === $parent->classname) {
196
+ return false;
197
+ }
198
+
199
if ('object' === $parent->type && (null !== $parent->access_path || $child->static || $child->const)) {
200
if (Value::ACCESS_PUBLIC === $child->access) {
201
return true;
@@ -435,7 +439,7 @@ private function parseObject(&$var, Value $o)
435
439
436
440
$rep = new Representation('Properties');
437
441
438
- if (KINT_PHP74) {
442
+ if (KINT_PHP74 && '__PHP_Incomplete_Class' != $object->classname) {
443
$rprops = $reflector->getProperties();
444
445
foreach ($rprops as $rprop) {
0 commit comments