src/DefaultReader.php
public function readProperty($cls, $name)
    {
        try {
            $ref = new \ReflectionProperty($cls, $name);
        } catch (\Exception $e) {
            throw new \InvalidArgumentException(
                sprintf('Could not create ReflectionProperty: %s', $e->getMessage()),
                $e->getCode(),
                $e
            );
        }

        return $this->fromDocBlock($ref->getDocComment(), array(
            'property'  => $ref,
        ));
    }
public function readProperty($cls, $name)
    {
        try {
            $ref = new \ReflectionProperty($cls, $name);
        } catch (\Exception $e) {
            throw new \InvalidArgumentException(
                sprintf('Could not create ReflectionProperty: %s', $e->getMessage()),
                $e->getCode(),
                $e
            );
        }

        return $this->fromDocBlock($ref->getDocComment(), array(
            'property'  => $ref,
        ));
    }
{@inheritdoc}