Code Duplication    Length = 3-3 lines in 2 locations

src/Arrayy.php 2 locations

@@ 3049-3051 (lines=3) @@
3046
        }
3047
3048
        if (isset($usedArrayTmp)) {
3049
            if (!$usePath && !isset($usedArrayTmp[$key])) {
3050
                return $fallback instanceof \Closure ? $fallback() : $fallback;
3051
            }
3052
3053
            if (\is_array($usedArrayTmp)) {
3054
                return static::create(
@@ 3064-3066 (lines=3) @@
3061
            return $usedArrayTmp;
3062
        }
3063
3064
        if (!$usePath && !isset($usedArray[$key])) {
3065
            return $fallback instanceof \Closure ? $fallback() : $fallback;
3066
        }
3067
3068
        return static::create(
3069
            [],