From f0cc62224a8257111769e39f8787a4e82aba1456 Mon Sep 17 00:00:00 2001 From: Shail Mehta Date: Fri, 23 Oct 2026 22:42:15 +0530 Subject: [PATCH] Tests: Make data provider in getLastCommentModified.php static --- tests/phpunit/tests/comment/getLastCommentModified.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/comment/getLastCommentModified.php b/tests/phpunit/tests/comment/getLastCommentModified.php index b04354f2bd766..4f61f626ffb7a 100644 --- a/tests/phpunit/tests/comment/getLastCommentModified.php +++ b/tests/phpunit/tests/comment/getLastCommentModified.php @@ -176,7 +176,7 @@ public function test_internal_comment_types_are_excluded( $timezone, $expected ) * * @return array */ - public function data_internal_comment_types_are_excluded() { + public static function data_internal_comment_types_are_excluded() { return array( 'server timezone' => array( 'timezone' => 'server',