@@ -78,7 +78,7 @@ |
||
| 78 | 78 | */ |
| 79 | 79 | public function getCookies() |
| 80 | 80 | { |
| 81 | - return $this->cookies; |
|
| 81 | + return $this->cookies; |
|
| 82 | 82 | } |
| 83 | 83 | |
| 84 | 84 | /** |
@@ -146,10 +146,11 @@ |
||
| 146 | 146 | $str = trim(preg_replace('/\s+/', ' ', $b->html())); |
| 147 | 147 | $attach = htmlspecialchars_decode($str); |
| 148 | 148 | |
| 149 | - if ($bs->count() == 1) |
|
| 150 | - $result[$attr] = $attach; |
|
| 151 | - else |
|
| 152 | - $result[$attr][] = $attach; |
|
| 149 | + if ($bs->count() == 1) { |
|
| 150 | + $result[$attr] = $attach; |
|
| 151 | + } else { |
|
| 152 | + $result[$attr][] = $attach; |
|
| 153 | + } |
|
| 153 | 154 | } |
| 154 | 155 | } |
| 155 | 156 | } |