From 54eb0d7050c88dbcda68589622db5839081b8a95 Mon Sep 17 00:00:00 2001 From: Jason Bahl Date: Thu, 3 Oct 2024 13:44:08 -0600 Subject: [PATCH] Apply suggestions from code review --- plugins/faustwp/includes/updates/class-plugin-updater.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/faustwp/includes/updates/class-plugin-updater.php b/plugins/faustwp/includes/updates/class-plugin-updater.php index 8dea31634..4f080916e 100644 --- a/plugins/faustwp/includes/updates/class-plugin-updater.php +++ b/plugins/faustwp/includes/updates/class-plugin-updater.php @@ -108,12 +108,12 @@ public function register() { /** * Filter the plugin update transient to take over update notifications. * - * @param ?object $transient_value The value of the `site_transient_update_plugins` transient. + * @param ?object $transient The value of the `site_transient_update_plugins` transient. * * @handles site_transient_update_plugins * @return object */ - public function filter_plugin_update_transient( $transient_value ) { + public function filter_plugin_update_transient( $transient ) { // No update object exists. Return early. if ( empty( $transient ) ) { return $transient;