Skip to content

Commit

Permalink
Make the data providers static
Browse files Browse the repository at this point in the history
  • Loading branch information
thelovekesh committed May 24, 2024
1 parent aee3d2f commit 2faa3d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tests/TestWPVersionResolverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ private function wp_versions_data() {
);
}

public function data_wp_version_resolver() {
public static function data_wp_version_resolver() {
return array(
array( '5.0', '5.0' ), // Does not match any version. So return as it is.
array( '5', '5.9.2' ), // Return the latest major version.
Expand Down

0 comments on commit 2faa3d1

Please sign in to comment.