src/Reflection/Adapter/ReflectionObject.php
public function getProperties($filter = null)
    {
        $properties = $this->betterReflectionObject->getProperties();

        $wrappedProperties = [];
        foreach ($properties as $key => $property) {
            $wrappedProperties[$key] = new ReflectionProperty($property);
        }

        return $wrappedProperties;
    }
public function getProperties($filter = null)
    {
        $properties = $this->betterReflectionObject->getProperties();

        $wrappedProperties = [];
        foreach ($properties as $key => $property) {
            $wrappedProperties[$key] = new ReflectionProperty($property);
        }

        return $wrappedProperties;
    }
{@inheritDoc}