Completed
Push — master ( 2368aa...afdce1 )
by Pavel
03:09
created
Category
src/ScayTrase/WebSMS/Driver/FormDriver.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,8 +50,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/ScayTrase/WebSMS/Tests/DriverTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,9 +77,9 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.