Code Duplication    Length = 9-9 lines in 2 locations

src/Arr.php 2 locations

@@ 48-56 (lines=9) @@
45
			return $array;
46
		}
47
48
		if (is_array($key))
49
		{
50
			$return = array();
51
			foreach ($key as $k)
52
			{
53
				$return[$k] = static::get($array, $k, $default);
54
			}
55
			return $return;
56
		}
57
58
		if (is_object($key))
59
		{
@@ 205-213 (lines=9) @@
202
			return false;
203
		}
204
205
		if (is_array($key))
206
		{
207
			$return = array();
208
			foreach ($key as $k)
209
			{
210
				$return[$k] = static::delete($array, $k);
211
			}
212
			return $return;
213
		}
214
215
		$key_parts = explode('.', $key);
216