Completed
Pull Request — master (#1166)
by Dwain
01:44
created
includes/abstracts/abstract-wc-stripe-payment-gateway.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -163,7 +163,7 @@
 block discarded – undo
163 163
 				&& preg_match( '/^[rs]k_test_/', $this->secret_key );
164 164
 		} else {
165 165
 			return preg_match( '/^pk_live_/', $this->publishable_key )
166
-			    && preg_match( '/^[rs]k_live_/', $this->secret_key );
166
+				&& preg_match( '/^[rs]k_live_/', $this->secret_key );
167 167
 		}
168 168
 	}
169 169
 
Please login to merge, or discard this patch.
includes/payment-methods/class-wc-stripe-payment-request.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -123,10 +123,10 @@
 block discarded – undo
123 123
 		// in includes/abstracts/abstract-wc-stripe-payment-gateway.php
124 124
 		if ( $this->testmode ) {
125 125
 			return preg_match( '/^pk_test_/', $this->publishable_key )
126
-			       && preg_match( '/^[rs]k_test_/', $this->secret_key );
126
+				   && preg_match( '/^[rs]k_test_/', $this->secret_key );
127 127
 		} else {
128 128
 			return preg_match( '/^pk_live_/', $this->publishable_key )
129
-			       && preg_match( '/^[rs]k_live_/', $this->secret_key );
129
+				   && preg_match( '/^[rs]k_live_/', $this->secret_key );
130 130
 		}
131 131
 	}
132 132
 
Please login to merge, or discard this patch.