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