Code Duplication    Length = 3-3 lines in 2 locations

src/EngineWorks/Pivot/Result.php 2 locations

@@ 247-249 (lines=3) @@
244
245
    public function getCurrentValue(string $key)
246
    {
247
        if (is_array($this->privValues) && array_key_exists($key, $this->privValues)) {
248
            return $this->privValues[$key];
249
        }
250
        return null;
251
    }
252
@@ 255-257 (lines=3) @@
252
253
    public function setCurrentValue(string $key, $value)
254
    {
255
        if (is_array($this->privValues) && array_key_exists($key, $this->privValues)) {
256
            $this->privValues[$key] = $value;
257
        }
258
    }
259
260
    public function orderBy(ResultOrdering $ordering)