File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -25,31 +25,31 @@ public function createFactory(): TransportFactoryInterface
25
25
return new ZulipTransportFactory ();
26
26
}
27
27
28
- public function createProvider (): iterable
28
+ public static function createProvider (): iterable
29
29
{
30
30
yield [
31
31
'zulip://host.test?channel=testChannel ' ,
32
32
'zulip://email:token@host.test?channel=testChannel ' ,
33
33
];
34
34
}
35
35
36
- public function supportsProvider (): iterable
36
+ public static function supportsProvider (): iterable
37
37
{
38
38
yield [true , 'zulip://host?channel=testChannel ' ];
39
39
yield [false , 'somethingElse://host?channel=testChannel ' ];
40
40
}
41
41
42
- public function incompleteDsnProvider (): iterable
42
+ public static function incompleteDsnProvider (): iterable
43
43
{
44
44
yield 'missing email or token ' => ['zulip://testOneOfEmailOrToken@host.test?channel=testChannel ' ];
45
45
}
46
46
47
- public function missingRequiredOptionProvider (): iterable
47
+ public static function missingRequiredOptionProvider (): iterable
48
48
{
49
49
yield 'missing option: channel ' => ['zulip://email:token@host ' ];
50
50
}
51
51
52
- public function unsupportedSchemeProvider (): iterable
52
+ public static function unsupportedSchemeProvider (): iterable
53
53
{
54
54
yield ['somethingElse://email:token@host?channel=testChannel ' ];
55
55
yield ['somethingElse://email:token@host ' ]; // missing "channel" option
You can’t perform that action at this time.
0 commit comments