@@ -257,8 +257,7 @@ |
||
257 | 257 | $related->boundary = $msg->getMime()->boundary(); |
258 | 258 | $related->disposition = null; |
259 | 259 | $related->charset = null; |
260 | - } |
|
261 | - else if( $this->html != null ) |
|
260 | + } else if( $this->html != null ) |
|
262 | 261 | { |
263 | 262 | $this->object->setBodyHtml( $this->html ); |
264 | 263 | } |
@@ -70,7 +70,9 @@ discard block |
||
70 | 70 | } |
71 | 71 | } |
72 | 72 | } |
73 | - catch( \Exception $e ) { ; } // Discard exceptions, return the original string instead |
|
73 | + catch( \Exception $e ) |
|
74 | + { |
|
75 | +; } // Discard exceptions, return the original string instead |
|
74 | 76 | |
75 | 77 | return (string) $string; |
76 | 78 | } |
@@ -99,7 +101,9 @@ discard block |
||
99 | 101 | } |
100 | 102 | } |
101 | 103 | } |
102 | - catch( \Exception $e ) { ; } // Discard exceptions, return the original string instead |
|
104 | + catch( \Exception $e ) |
|
105 | + { |
|
106 | +; } // Discard exceptions, return the original string instead |
|
103 | 107 | |
104 | 108 | if( $this->getPluralIndex( $number, $this->getLocale() ) > 0 ) { |
105 | 109 | return (string) $plural; |
@@ -53,7 +53,8 @@ |
||
53 | 53 | |
54 | 54 | $this->logger->log( '<' . $facility . '> ' . $message, $priority ); |
55 | 55 | } |
56 | - catch( \Zend_Log_Exception $ze ) { |
|
56 | + catch( \Zend_Log_Exception $ze ) |
|
57 | + { |
|
57 | 58 | throw new \Aimeos\MW\Logger\Exception( $ze->getMessage() ); |
58 | 59 | } |
59 | 60 | } |