@@ -54,14 +54,14 @@ |
||
54 | 54 | private function send() |
55 | 55 | { |
56 | 56 | try { |
57 | - if ($this->mail->send()){ |
|
57 | + if ($this->mail->send()) { |
|
58 | 58 | $this->result = true; |
59 | 59 | |
60 | - }else{ |
|
60 | + }else { |
|
61 | 61 | $this->result = false; |
62 | 62 | } |
63 | - } catch (Exception $e){ |
|
64 | - echo "Error email send:: ". $e->errorMessage(); |
|
63 | + } catch (Exception $e) { |
|
64 | + echo "Error email send:: ".$e->errorMessage(); |
|
65 | 65 | } |
66 | 66 | } |
67 | 67 |
@@ -57,7 +57,7 @@ |
||
57 | 57 | if ($this->mail->send()){ |
58 | 58 | $this->result = true; |
59 | 59 | |
60 | - }else{ |
|
60 | + } else{ |
|
61 | 61 | $this->result = false; |
62 | 62 | } |
63 | 63 | } catch (Exception $e){ |