|
@@ 2897-2899 (lines=3) @@
|
| 2894 |
|
} |
| 2895 |
|
|
| 2896 |
|
if (isset($usedArrayTmp)) { |
| 2897 |
|
if (!$usePath && !isset($usedArrayTmp[$key])) { |
| 2898 |
|
return $fallback instanceof \Closure ? $fallback() : $fallback; |
| 2899 |
|
} |
| 2900 |
|
|
| 2901 |
|
if (\is_array($usedArrayTmp)) { |
| 2902 |
|
return static::create( |
|
@@ 2912-2914 (lines=3) @@
|
| 2909 |
|
return $usedArrayTmp; |
| 2910 |
|
} |
| 2911 |
|
|
| 2912 |
|
if (!$usePath && !isset($usedArray[$key])) { |
| 2913 |
|
return $fallback instanceof \Closure ? $fallback() : $fallback; |
| 2914 |
|
} |
| 2915 |
|
|
| 2916 |
|
return static::create( |
| 2917 |
|
[], |