@@ -170,8 +170,7 @@ |
||
170 | 170 | if (!empty($actual)) { |
171 | 171 | throw new \Exception(sprintf("The element '%s' exists and contains '%s'.", $element , $elements)); |
172 | 172 | } |
173 | - } |
|
174 | - catch (\Exception $e) { |
|
173 | + } catch (\Exception $e) { |
|
175 | 174 | } |
176 | 175 | } |
177 | 176 |
@@ -38,8 +38,7 @@ |
||
38 | 38 | throw new \DomException($error->message . ' at line ' . $error->line); |
39 | 39 | } |
40 | 40 | } |
41 | - } |
|
42 | - catch(\DOMException $e) { |
|
41 | + } catch(\DOMException $e) { |
|
43 | 42 | if ($throwExceptions) { |
44 | 43 | throw new \RuntimeException($e->getMessage()); |
45 | 44 | } |