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',