function Kint_Objects_Closure::isDefaultValueAvailable

File

kint/kint/parsers/objects/closure.php, line 35

Class

Kint_Objects_Closure

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();
}