aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/EmojiHelperTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/EmojiHelperTest.php')
-rw-r--r--tests/lib/EmojiHelperTest.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/lib/EmojiHelperTest.php b/tests/lib/EmojiHelperTest.php
index 9ad56b32472..517d8655e53 100644
--- a/tests/lib/EmojiHelperTest.php
+++ b/tests/lib/EmojiHelperTest.php
@@ -38,10 +38,7 @@ class EmojiHelperTest extends TestCase {
$this->assertEquals($expected, $this->helper->doesPlatformSupportEmoji());
}
- /**
- * @return array
- */
- public function doesPlatformSupportEmojiDataProvider(): array {
+ public static function doesPlatformSupportEmojiDataProvider(): array {
return [
[true, true],
[false, false],
@@ -60,7 +57,7 @@ class EmojiHelperTest extends TestCase {
$this->assertEquals($expected, $actual);
}
- public function isValidSingleEmojiDataProvider(): array {
+ public static function isValidSingleEmojiDataProvider(): array {
return [
['📱📠', false],
['a', false],