Skip to content

Commit 717442d

Browse files
committed
lint fixes
1 parent 4df45f7 commit 717442d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

includes/Services/StatusService.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ public static function handle_started(): bool {
2222
$status = get_option( Options::get_option_name( 'status' ) );
2323
if ( 'started' !== $status && 'completed' !== $status ) {
2424
update_option( Options::get_option_name( 'status' ), 'started' );
25-
25+
2626
// Store start time when onboarding begins
2727
update_option( Options::get_option_name( 'start_time' ), time() );
28-
28+
2929
do_action( 'newfold/onboarding/started' );
3030
return true;
3131
}
@@ -40,7 +40,7 @@ public static function handle_started(): bool {
4040
public static function handle_abandoned(): void {
4141
if ( 'started' === get_option( Options::get_option_name( 'status' ) ) ) {
4242
update_option( Options::get_option_name( 'status' ), 'abandoned' );
43-
43+
4444
// Clean up time tracking when onboarding is abandoned
4545
delete_option( Options::get_option_name( 'start_time' ) );
4646
delete_option( Options::get_option_name( 'completed_time' ) );
@@ -193,7 +193,7 @@ public static function track(): void {
193193
}
194194

195195
// Ignore if the request is not for the onboarding page.
196-
if ( isset( $_GET['page'] ) && WP_Admin::$slug === \sanitize_text_field( $_GET['page'] ) ) {
196+
if ( isset( $_GET['page'] ) && \sanitize_text_field( $_GET['page'] ) === WP_Admin::$slug ) {
197197
return;
198198
}
199199

0 commit comments

Comments
 (0)