@@ 40-43 (lines=4) @@ | ||
37 | if (array_key_exists($key, $this->test->data)) { |
|
38 | $data = $this->test->data[$key]; |
|
39 | foreach ($data as $i => $v) { |
|
40 | if (count($params) && array_intersect_assoc($params, get_object_vars($v)) != $params) { |
|
41 | unset($data[$i]); |
|
42 | continue; |
|
43 | } |
|
44 | $data[$i] = (object) $v; |
|
45 | } |
|
46 | $data = array_values($data); |
|
@@ 114-116 (lines=3) @@ | ||
111 | $key = $this->serviceName.'.'.$space; |
|
112 | if (array_key_exists($key, $this->test->data)) { |
|
113 | foreach ($this->test->data[$key] as $i => $v) { |
|
114 | if (count($params) && array_intersect_assoc($params, get_object_vars($v)) == $params) { |
|
115 | unset($this->test->data[$key][$i]); |
|
116 | } |
|
117 | } |
|
118 | } |
|
119 | } |