Completed
Push — master ( 332d0e...498d94 )
by Florian
10s
created
lib/Payone/Settings/Data/ConfigFile/PaymentMethod/Payolution.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     /** @var string */
28 28
     protected $key = Payone_Enum_ClearingType::PAYOLUTION;
29 29
 
30
-   /**
30
+    /**
31 31
      * @return string
32 32
      */
33 33
     public function getKey()
Please login to merge, or discard this patch.
lib/Payone/Settings/Data/ConfigFile/PaymentMethod/PayolutionDebit.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     /** @var string */
28 28
     protected $key = Payone_Enum_ClearingType::PAYOLUTIONDEBIT;
29 29
 
30
-   /**
30
+    /**
31 31
      * @return string
32 32
      */
33 33
     public function getKey()
Please login to merge, or discard this patch.
lib/Payone/Api/Enum/OnlinebanktransferType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     const GIROPAY = 'GPY';
37 37
     const EPS_ONLINE_BANK_TRANSFER = 'EPS';
38 38
     const POSTFINANCE_EFINANCE = 'PFF';
39
-    const POSTFINANCE_CARD  = 'PFC';
39
+    const POSTFINANCE_CARD = 'PFC';
40 40
     const IDEAL = 'IDL';
41 41
     const P24 = 'P24';
42 42
     const BANCONTACT = 'BCT';
Please login to merge, or discard this patch.
lib/Payone/Api/Mapper/Response/Preauthorization.php 1 patch
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -46,17 +46,13 @@
 block discarded – undo
46 46
 
47 47
         if ($this->isApproved()) {
48 48
             $response = new Payone_Api_Response_Preauthorization_Approved($params);
49
-        }
50
-        elseif ($this->isRedirect()) {
49
+        } elseif ($this->isRedirect()) {
51 50
             $response = new Payone_Api_Response_Preauthorization_Redirect($params);
52
-        }
53
-        elseif ($this->isPending()) {
51
+        } elseif ($this->isPending()) {
54 52
             $response = new Payone_Api_Response_Preauthorization_Pending($params);
55
-        }
56
-        elseif ($this->isError()) {
53
+        } elseif ($this->isError()) {
57 54
             $response = new Payone_Api_Response_Error($params);
58
-        }
59
-        else {
55
+        } else {
60 56
             throw new Payone_Api_Exception_UnknownStatus();
61 57
         }
62 58
 
Please login to merge, or discard this patch.