Code Duplication    Length = 8-8 lines in 2 locations

src/HMLB/VW/SecretSoftware.php 2 locations

@@ 87-94 (lines=8) @@
84
     *
85
     * @return self
86
     */
87
    private function forcePropertyValue(ReflectionClass $reflection, $property, $value, $object)
88
    {
89
        $propertyReflection = $this->accessProperty($reflection, $property);
90
        $propertyReflection->setValue($object, $value);
91
        $propertyReflection->setAccessible(false);
92
93
        return $this;
94
    }
95
96
    /**
97
     * @param ReflectionClass $reflection
@@ 103-110 (lines=8) @@
100
     *
101
     * @return mixed
102
     */
103
    private function getPropertyValue(ReflectionClass $reflection, $property, $object)
104
    {
105
        $propertyReflection = $this->accessProperty($reflection, $property);
106
        $value = $propertyReflection->getValue($object);
107
        $propertyReflection->setAccessible(false);
108
109
        return $value;
110
    }
111
112
    /**
113
     * @param ReflectionClass $reflection