diff --git a/tests/phpunit/tests/integration/class-test-stream-connector.php b/tests/phpunit/tests/integration/class-test-stream-connector.php index bb690a212..2c6a067c2 100644 --- a/tests/phpunit/tests/integration/class-test-stream-connector.php +++ b/tests/phpunit/tests/integration/class-test-stream-connector.php @@ -761,12 +761,21 @@ public function is_dependency_satisfied() { } /** - * Log activity. + * Log handler. * - * @param array $args Log arguments. + * @param string $message sprintf-ready error message string. + * @param array $args sprintf (and extra) arguments to use. + * @param int|null $object_id Target object id (if any). + * @param string $context Context of the event. + * @param string $action Action of the event. + * @param int $user_id User responsible for the event. + * + * @return bool */ - public function log( $args ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable + public function log( $message, $args, $object_id, $context, $action, $user_id = null ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable, Generic.CodeAnalysis.UnusedFunctionParameter // Mock implementation - parameter intentionally unused. + + return true; } }