Completed
Push — master ( 50709f...68c2a2 )
by Remco
08:13 queued 01:30
created
Category
src/PaymentMethodType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -155,8 +155,8 @@
 block discarded – undo
155 155
 	 * @return string|null
156 156
 	 */
157 157
 	public static function transform( $payment_method ) {
158
-		if ( isset( self::$map[ $payment_method ] ) ) {
159
-			return self::$map[ $payment_method ];
158
+		if ( isset( self::$map[$payment_method] ) ) {
159
+			return self::$map[$payment_method];
160 160
 		}
161 161
 
162 162
 		return null;
Please login to merge, or discard this patch.
src/PaymentRequestHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
 				// Use line item name as fallback for description.
93 93
 				if ( null === $description ) {
94 94
 					/* translators: %s: item index */
95
-					$description = sprintf( __( 'Item %s', 'pronamic_ideal' ), $i++ );
95
+					$description = sprintf( __( 'Item %s', 'pronamic_ideal' ), $i ++ );
96 96
 
97 97
 					if ( null !== $line->get_name() && '' !== $line->get_name() ) {
98 98
 						$description = $line->get_name();
Please login to merge, or discard this patch.
src/Gateway.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -313,7 +313,7 @@
 block discarded – undo
313 313
 				foreach ( $details as $detail ) {
314 314
 					if ( 'issuer' === $detail->key && 'select' === $detail->type ) {
315 315
 						foreach ( $detail->items as $item ) {
316
-							$issuers[ $item->id ] = $item->name;
316
+							$issuers[$item->id] = $item->name;
317 317
 						}
318 318
 					}
319 319
 				}
Please login to merge, or discard this patch.