Failed Conditions
Push — develop ( 87302b...e08f1e )
by Reüel
05:32
created
src/Methods.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -174,8 +174,8 @@
 block discarded – undo
174 174
 			return null;
175 175
 		}
176 176
 
177
-		if ( isset( self::$map[ $payment_method ] ) ) {
178
-			return self::$map[ $payment_method ];
177
+		if ( isset( self::$map[$payment_method] ) ) {
178
+			return self::$map[$payment_method];
179 179
 		}
180 180
 
181 181
 		return null;
Please login to merge, or discard this patch.
src/Client.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -271,7 +271,7 @@
 block discarded – undo
271 271
 					$id   = Security::filter( $issuer->id );
272 272
 					$name = Security::filter( $issuer->name );
273 273
 
274
-					$issuers[ $id ] = $name;
274
+					$issuers[$id] = $name;
275 275
 				}
276 276
 			}
277 277
 		}
Please login to merge, or discard this patch.
tests/src/ClientTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
 	 * @param string $file File with HTTP response.
43 43
 	 */
44 44
 	public function mock_http_response( $url, $file ) {
45
-		$this->mock_http_responses[ $url ] = $file;
45
+		$this->mock_http_responses[$url] = $file;
46 46
 	}
47 47
 
48 48
 	/**
@@ -57,11 +57,11 @@  discard block
 block discarded – undo
57 57
 	 * @return array
58 58
 	 */
59 59
 	public function pre_http_request( $preempt, $r, $url ) {
60
-		if ( ! isset( $this->mock_http_responses[ $url ] ) ) {
60
+		if ( ! isset( $this->mock_http_responses[$url] ) ) {
61 61
 			return $preempt;
62 62
 		}
63 63
 
64
-		$file = $this->mock_http_responses[ $url ];
64
+		$file = $this->mock_http_responses[$url];
65 65
 
66 66
 		$response = file_get_contents( $file, true );
67 67
 
Please login to merge, or discard this patch.