Code Duplication    Length = 1-1 lines in 2 locations

src/DotKey.php 2 locations

@@ 237-237 (lines=1) @@
234
            return;
235
        }
236
        
237
        if (is_object($item) && isset($item->$key)) return static::removeValue($item->$key, $index, $err);
238
        if (is_array($item) && isset($item[$key])) return static::removeValue($item[$key], $index, $err);
239
    }
240
@@ 238-238 (lines=1) @@
235
        }
236
        
237
        if (is_object($item) && isset($item->$key)) return static::removeValue($item->$key, $index, $err);
238
        if (is_array($item) && isset($item[$key])) return static::removeValue($item[$key], $index, $err);
239
    }
240
241