@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | $current_step = 0; |
115 | 115 | foreach ( $step_keys as $step_key ) { |
116 | 116 | if ( in_array( $step_key, self::$checklist['completed_steps'], true ) ) { |
117 | - $current_step++; |
|
117 | + $current_step ++; |
|
118 | 118 | } else { |
119 | 119 | break; |
120 | 120 | } |
@@ -258,7 +258,7 @@ discard block |
||
258 | 258 | */ |
259 | 259 | private static function fill_step_completed_data( $steps ) { |
260 | 260 | foreach ( $steps as $step_key => $step ) { |
261 | - $steps[ $step_key ]['complete'] = in_array( $step_key, self::$checklist['completed_steps'], true ); |
|
261 | + $steps[$step_key]['complete'] = in_array( $step_key, self::$checklist['completed_steps'], true ); |
|
262 | 262 | } |
263 | 263 | $steps['add-fields']['complete'] = true; // Remove this. |
264 | 264 | return $steps; |
@@ -200,7 +200,7 @@ |
||
200 | 200 | * |
201 | 201 | * @return array |
202 | 202 | */ |
203 | - private static function get_js_variables() { |
|
203 | + private static function get_js_variables() { |
|
204 | 204 | $current_form_id = FrmAppHelper::simple_get( 'id', 'absint', 0 ); |
205 | 205 | |
206 | 206 | return array( |