Skip to content

Commit be6f5b7

Browse files
committed
reverse order of param
1 parent a8d3fdf commit be6f5b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/Engine/Admin/PerformanceMonitoring/Subscriber.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ public function maybe_cancel_automatic_retest_job() {
518518
* @param string $old_version Previous plugin version.
519519
* @return void
520520
*/
521-
public function on_update_reset_credit( $old_version, $new_version ) {
521+
public function on_update_reset_credit( $new_version, $old_version ) {
522522
if ( version_compare( $old_version, '3.20.0', '<' ) ) {
523523
$this->plan->reset_credit();
524524
}

0 commit comments

Comments
 (0)