Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion system/ThirdParty/Kint/Parser/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,10 @@ public function haltParse()

public function childHasPath(InstanceValue $parent, Value $child)
{
if ('__PHP_Incomplete_Class' === $parent->classname) {
return false;
}

if ('object' === $parent->type && (null !== $parent->access_path || $child->static || $child->const)) {
if (Value::ACCESS_PUBLIC === $child->access) {
return true;
Expand Down Expand Up @@ -435,7 +439,7 @@ private function parseObject(&$var, Value $o)

$rep = new Representation('Properties');

if (KINT_PHP74) {
if (KINT_PHP74 && '__PHP_Incomplete_Class' != $object->classname) {
$rprops = $reflector->getProperties();

foreach ($rprops as $rprop) {
Expand Down