@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | $current_step = 0; |
| 118 | 118 | foreach ( $step_keys as $step_key ) { |
| 119 | 119 | if ( in_array( $step_key, self::$checklist['completed_steps'], true ) ) { |
| 120 | - $current_step++; |
|
| 120 | + $current_step ++; |
|
| 121 | 121 | } else { |
| 122 | 122 | break; |
| 123 | 123 | } |
@@ -288,7 +288,7 @@ discard block |
||
| 288 | 288 | */ |
| 289 | 289 | private static function fill_step_completed_data( $steps ) { |
| 290 | 290 | foreach ( $steps as $step_key => $step ) { |
| 291 | - $steps[ $step_key ]['complete'] = in_array( $step_key, self::$checklist['completed_steps'], true ); |
|
| 291 | + $steps[$step_key]['complete'] = in_array( $step_key, self::$checklist['completed_steps'], true ); |
|
| 292 | 292 | } |
| 293 | 293 | |
| 294 | 294 | // Remove this. |