From 9ae8208f265c41d82f3d3c4f80c54454541d308c Mon Sep 17 00:00:00 2001 From: mujuonly Date: Mon, 17 Apr 2023 08:49:42 +0530 Subject: [PATCH] Fix typo in a function comment. (#37746) * Fix typo in a function comment. * Chagelog update for typo corretcion in ReportsSync.php --------- Co-authored-by: mujuonly --- .../changelog/fix-typo-in-regenerate_report_data-doc | 4 ++++ plugins/woocommerce/src/Admin/ReportsSync.php | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 plugins/woocommerce/changelog/fix-typo-in-regenerate_report_data-doc diff --git a/plugins/woocommerce/changelog/fix-typo-in-regenerate_report_data-doc b/plugins/woocommerce/changelog/fix-typo-in-regenerate_report_data-doc new file mode 100644 index 00000000000..b52cd46aa6c --- /dev/null +++ b/plugins/woocommerce/changelog/fix-typo-in-regenerate_report_data-doc @@ -0,0 +1,4 @@ +Significance: patch +Type: tweak + +Fix typo in a function comment. \ No newline at end of file diff --git a/plugins/woocommerce/src/Admin/ReportsSync.php b/plugins/woocommerce/src/Admin/ReportsSync.php index 520470423fe..95d20d2a15c 100644 --- a/plugins/woocommerce/src/Admin/ReportsSync.php +++ b/plugins/woocommerce/src/Admin/ReportsSync.php @@ -88,7 +88,7 @@ class ReportsSync { * Fires when report data regeneration begins. * * @param int|bool $days Number of days to import. - * @param bool $skip_existing Skip exisiting records. + * @param bool $skip_existing Skip existing records. */ do_action( 'woocommerce_analytics_regenerate_init', $days, $skip_existing ); @@ -99,7 +99,7 @@ class ReportsSync { * Update the import stat totals and counts. * * @param int|bool $days Number of days to import. - * @param bool $skip_existing Skip exisiting records. + * @param bool $skip_existing Skip existing records. */ public static function reset_import_stats( $days, $skip_existing ) { $import_stats = get_option( ImportScheduler::IMPORT_STATS_OPTION, array() ); @@ -137,7 +137,7 @@ class ReportsSync { * Get the import totals for all syncs. * * @param int|bool $days Number of days to import. - * @param bool $skip_existing Skip exisiting records. + * @param bool $skip_existing Skip existing records. * @return array */ public static function get_import_totals( $days, $skip_existing ) {