@@ -50,8 +50,7 @@ |
||
50 | 50 | $normalized_status[self::NORMALIZED_MESSAGE] = $status[self::Section_Common][self::Error_Message]; |
51 | 51 | $normalized_status[self::NORMALIZED_CODE] = |
52 | 52 | isset($status[self::Section_Common][self::Error_Code]) ? |
53 | - $status[self::Section_Common][self::Error_Code] : |
|
54 | - self::STATUS_OK; |
|
53 | + $status[self::Section_Common][self::Error_Code] : self::STATUS_OK; |
|
55 | 54 | |
56 | 55 | return $normalized_status; |
57 | 56 | } |
@@ -77,9 +77,9 @@ |
||
77 | 77 | try { |
78 | 78 | $connection->send($message); |
79 | 79 | } catch (WebSMSException $exception) { |
80 | - if ($exception instanceof DeliveryException){ |
|
80 | + if ($exception instanceof DeliveryException) { |
|
81 | 81 | return; |
82 | - } elseif ($exception instanceof DriverException){ |
|
82 | + } elseif ($exception instanceof DriverException) { |
|
83 | 83 | return; |
84 | 84 | } else { |
85 | 85 | $this->fail('Unexpected exception'); |