public function Kint_Objects_Closure::isDefaultValueAvailable in Devel 8.2
Same name and namespace in other branches
- 8 kint/kint/parsers/objects/closure.php \Kint_Objects_Closure::isDefaultValueAvailable()
File
- kint/
kint/ parsers/ objects/ closure.php, line 35
Class
Code
public function isDefaultValueAvailable() {
if (PHP_VERSION_ID === 50316) {
// PHP bug #62988
try {
$this
->getDefaultValue();
return true;
} catch (\ReflectionException $e) {
return false;
}
}
return parent::isDefaultValueAvailable();
}