@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | $current_step = 0; |
121 | 121 | foreach ( $step_keys as $step_key ) { |
122 | 122 | if ( in_array( $step_key, self::$checklist['completed_steps'], true ) ) { |
123 | - $current_step++; |
|
123 | + $current_step ++; |
|
124 | 124 | } else { |
125 | 125 | break; |
126 | 126 | } |
@@ -264,7 +264,7 @@ discard block |
||
264 | 264 | */ |
265 | 265 | private static function fill_step_completed_data( $steps ) { |
266 | 266 | foreach ( $steps as $step_key => $step ) { |
267 | - $steps[ $step_key ]['complete'] = in_array( $step_key, self::$checklist['completed_steps'], true ); |
|
267 | + $steps[$step_key]['complete'] = in_array( $step_key, self::$checklist['completed_steps'], true ); |
|
268 | 268 | } |
269 | 269 | return $steps; |
270 | 270 | } |