Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbahl authored Oct 3, 2024
1 parent 21f02c6 commit 54eb0d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/faustwp/includes/updates/class-plugin-updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 54eb0d7

Please sign in to comment.