Completed
Pull Request — master (#1415)
by Stephanie
32s
created
stripe/helpers/FrmStrpLiteConnectHelper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
 			'user_id'               => get_current_user_id(),
109 109
 			'frm_strp_connect_mode' => $mode,
110 110
 		);
111
-		$data            = self::post_to_connect_server( 'initialize', $additional_body );
111
+		$data = self::post_to_connect_server( 'initialize', $additional_body );
112 112
 
113 113
 		if ( is_string( $data ) ) {
114 114
 			return $data;
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
 	 * @return object|string
144 144
 	 */
145 145
 	private static function post_to_connect_server( $action, $additional_body = array() ) {
146
-		$body    = array(
146
+		$body = array(
147 147
 			'frm_strp_connect_action' => $action,
148 148
 			'frm_strp_connect_mode'   => FrmStrpLiteAppHelper::active_mode(),
149 149
 		);
@@ -502,7 +502,7 @@  discard block
 block discarded – undo
502 502
 		$site_url = home_url();
503 503
 		$site_url = self::maybe_fix_wpml_url( $site_url );
504 504
 		$site_url = preg_replace( '#^https?://#', '', $site_url ); // remove protocol from url (our url cannot include the colon).
505
-		$site_url = preg_replace( '/:[0-9]+/', '', $site_url );    // Remove port from url (mostly helpful in development).
505
+		$site_url = preg_replace( '/:[0-9]+/', '', $site_url ); // Remove port from url (mostly helpful in development).
506 506
 		$site_url = self::strip_lang_from_url( $site_url );
507 507
 
508 508
 		// $password is either a Pro license or a uuid (See FrmUsage::uuid).
Please login to merge, or discard this patch.