Skip to content

Commit

Permalink
Reflection::propGet() error
Browse files Browse the repository at this point in the history
  • Loading branch information
bkdotcom committed Jul 19, 2024
1 parent 38d9508 commit 5c34711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Debug/Utility/Reflection.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public static function propGet($obj, $prop)
$prop
));
}
return $refProp->isInitialized($obj)
return PHP_VERSION_ID < 70400 || $refProp->isInitialized($obj)
? $refProp->getValue($obj)
: null;
}
Expand Down

0 comments on commit 5c34711

Please sign in to comment.