aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/mail/MailAddressTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/includes/mail/MailAddressTest.php')
-rw-r--r--tests/phpunit/includes/mail/MailAddressTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/includes/mail/MailAddressTest.php b/tests/phpunit/includes/mail/MailAddressTest.php
index 5b51485a48e3..97c6940c3ccc 100644
--- a/tests/phpunit/includes/mail/MailAddressTest.php
+++ b/tests/phpunit/includes/mail/MailAddressTest.php
@@ -46,7 +46,7 @@ class MailAddressTest extends MediaWikiIntegrationTestCase {
$this->assertSame( $expected, $first->equals( $second ) );
}
- public function provideEquals(): Generator {
+ public static function provideEquals(): Generator {
$base = new MailAddress( 'a@b.c', 'name', 'realname' );
yield 'Different addresses' => [ $base, new MailAddress( 'xxx', 'name', 'realname' ), false ];