Skip to content

Commit 82736cf

Browse files
pbearnewestonruter
andauthored
Apply suggestions from code review
Co-authored-by: Weston Ruter <[email protected]>
1 parent ecfdcaa commit 82736cf

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

tests/phpunit/tests/functions/wpTimezoneChoice.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@
1010
class Tests_Functions_wpTimezoneChoice extends WP_UnitTestCase {
1111

1212
public function tear_down() {
13-
1413
restore_current_locale();
14+
parent::tear_down();
1515
}
16+
1617
/**
1718
* Default values.
1819
*
@@ -28,7 +29,7 @@ public function test_wp_timezone_choice( $expected ) {
2829
/**
2930
* Datasets for test_wp_timezone_choice.
3031
*
31-
* @return array
32+
* @return array<string, string[]>
3233
*/
3334
public function data_wp_timezone_choice() {
3435
return array(
@@ -59,7 +60,7 @@ public function test_wp_timezone_choice_selected( $selected_zone, $expected ) {
5960
/**
6061
* Datasets for test_wp_timezone_choice_selected.
6162
*
62-
* @return array
63+
* @return array<string, string[]>
6364
*/
6465
public function data_wp_timezone_choice_selected() {
6566
return array(
@@ -102,7 +103,7 @@ public function test_wp_timezone_choice_es( $expected ) {
102103
/**
103104
* Datasets for test_wp_timezone_choice_es.
104105
*
105-
* @return array
106+
* @return array<string, string[]>
106107
*/
107108
public function data_wp_timezone_choice_es() {
108109
return array(
@@ -129,7 +130,7 @@ public function test_wp_timezone_choice_es_set( $expected ) {
129130
/**
130131
* Datasets for test_wp_timezone_choice_es_set.
131132
*
132-
* @return array
133+
* @return array<string, string[]>
133134
*/
134135
public function data_wp_timezone_choice_es_set() {
135136
return array(

0 commit comments

Comments
 (0)