diff --git a/tests/phpunit/tests/locale.php b/tests/phpunit/tests/locale.php index b672d08121fac..f7c7986c22cde 100644 --- a/tests/phpunit/tests/locale.php +++ b/tests/phpunit/tests/locale.php @@ -35,7 +35,7 @@ public function test_property_initializes_to_array( $name ) { * * @return array */ - public function data_property_initializes_to_array() { + public static function data_property_initializes_to_array() { return array( 'weekday' => array( 'weekday' ), 'weekday_initial' => array( 'weekday_initial' ), @@ -201,7 +201,7 @@ public function test_get_word_count_type( $word_count_type, $expected ) { * * @return array[] */ - public function data_get_word_count_type() { + public static function data_get_word_count_type() { return array( 'default' => array( 'word_count_type' => null,