src/DefaultContext.php
public function resolve(string $name)
    {
        $inspection = new InspectedValue();
        $inspection->value = $this->data;
        
        if (\func_num_args() > 1) {
            $inspection->useDefaultValue = true;
            $inspection->defaultValue = \func_get_arg(1);
        }
        
        return $this->accessValue([
            $name
        ], $inspection, false)->value;
    }
public function resolve(string $name)
    {
        $inspection = new InspectedValue();
        $inspection->value = $this->data;
        
        if (\func_num_args() > 1) {
            $inspection->useDefaultValue = true;
            $inspection->defaultValue = \func_get_arg(1);
        }
        
        return $this->accessValue([
            $name
        ], $inspection, false)->value;
    }
{@inheritdoc}