@@ 84-88 (lines=5) @@ | ||
81 | if ($uls->count() == 2) { |
|
82 | $returnParam = parseParams($uls->eq(0)->text()); |
|
83 | $result = []; |
|
84 | foreach ($uls->eq(1)->find('li') as $param) { |
|
85 | if ($parsedParam = parseParams(pq($param)->text())) { |
|
86 | $result[] = $parsedParam; |
|
87 | } |
|
88 | } |
|
89 | $returnParam['result'] = $result; |
|
90 | $returns[] = $returnParam; |
|
91 | } else { |
|
@@ 92-96 (lines=5) @@ | ||
89 | $returnParam['result'] = $result; |
|
90 | $returns[] = $returnParam; |
|
91 | } else { |
|
92 | foreach ($uls->eq(0)->find('li') as $param) { |
|
93 | if ($parsedParam = parseParams(pq($param)->text())) { |
|
94 | $returns[] = $parsedParam; |
|
95 | } |
|
96 | } |
|
97 | } |
|
98 | return $returns; |
|
99 | } |