File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
system/ThirdParty/Kint/Parser Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -192,6 +192,10 @@ public function haltParse()
192
192
193
193
public function childHasPath (InstanceValue $ parent , Value $ child )
194
194
{
195
+ if ('__PHP_Incomplete_Class ' === $ parent ->classname ) {
196
+ return false ;
197
+ }
198
+
195
199
if ('object ' === $ parent ->type && (null !== $ parent ->access_path || $ child ->static || $ child ->const )) {
196
200
if (Value::ACCESS_PUBLIC === $ child ->access ) {
197
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 ) {
439
443
$ rprops = $ reflector ->getProperties ();
440
444
441
445
foreach ($ rprops as $ rprop ) {
You can’t perform that action at this time.
0 commit comments