diff --git a/tests/phpunit/tests/widgets/wpWidgetMedia.php b/tests/phpunit/tests/widgets/wpWidgetMedia.php index b52b5fd413922..d138c41583173 100644 --- a/tests/phpunit/tests/widgets/wpWidgetMedia.php +++ b/tests/phpunit/tests/widgets/wpWidgetMedia.php @@ -383,10 +383,10 @@ public function test_widget() { * * @param array $instance Instance data. * @param array $args Widget args. - * @param WP_Widget_Media $object Widget object. + * @param WP_Widget_Media $widget Widget object. * @return array Instance. */ - public function filter_widget_mocked_instance( $instance, $args, $object ) { + public function filter_widget_mocked_instance( $instance, $args, $widget ) { $this->widget_instance_filter_args = func_get_args(); return $instance; }