Skip to content

Commit

Permalink
fix: Coding indentation in init_appsero_tracker method
Browse files Browse the repository at this point in the history
  • Loading branch information
devAsadNur committed Nov 29, 2024
1 parent 009349c commit a80987f
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions dokan-migrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,30 +187,30 @@ public function __get( $prop ) {
}

/**
* Initiates Appsero services.
*
* @since 1.0.0
*
* @return void
*/
public function init_appsero_tracker() {
if ( ! class_exists( 'WeDevs\DokanMigrator\Dependencies\Appsero\Client' ) ) {
* Initiates Appsero services.
*
* @since 1.0.0
*
* @return void
*/
public function init_appsero_tracker() {
if ( ! class_exists( 'WeDevs\DokanMigrator\Dependencies\Appsero\Client' ) ) {
return;
}

$client = new WeDevs\DokanMigrator\Dependencies\Appsero\Client( '2852f2fd-66ff-4649-9b00-5f9ed953f8b9', 'Dokan Migrator', DOKAN_MIGRATOR_FILE );
$insights = $client->insights();

$insights->add_extra(
$insights->add_extra(
function() {
return array(
'dokan_migrator_version' => DOKAN_MIGRATOR_PLUGIN_VERSION,
);
);
}
);

$insights->init();
}
}

/**
* Make dokan migrator plugin HPOS supported.
Expand Down

0 comments on commit a80987f

Please sign in to comment.