@@ 39-42 (lines=4) @@ | ||
36 | if (array_key_exists($key, $this->test->data)) { |
|
37 | $data = $this->test->data[$key]; |
|
38 | foreach ($data as $i => $v) { |
|
39 | if (count($params) && array_intersect_assoc($params, get_object_vars($v)) != $params) { |
|
40 | unset($data[$i]); |
|
41 | continue; |
|
42 | } |
|
43 | $data[$i] = (object) $v; |
|
44 | } |
|
45 | $data = array_values($data); |
|
@@ 105-107 (lines=3) @@ | ||
102 | $key = $this->serviceName.'.'.$space; |
|
103 | if (array_key_exists($key, $this->test->data)) { |
|
104 | foreach ($this->test->data[$key] as $i => $v) { |
|
105 | if (count($params) && array_intersect_assoc($params, get_object_vars($v)) == $params) { |
|
106 | unset($this->test->data[$key][$i]); |
|
107 | } |
|
108 | } |
|
109 | } |
|
110 | } |