Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
50.00% |
1 / 2 |
|
50.00% |
1 / 2 |
CRAP | |
0.00% |
0 / 1 |
| StaticActionExample | |
50.00% |
1 / 2 |
|
50.00% |
1 / 2 |
2.50 | |
0.00% |
0 / 1 |
| __construct | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| secretCode | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | namespace Apie\Fixtures\Actions; |
| 3 | |
| 4 | use Apie\Fixtures\Lists\ImmutableStringOrIntList; |
| 5 | |
| 6 | final class StaticActionExample |
| 7 | { |
| 8 | private function __construct() |
| 9 | { |
| 10 | } |
| 11 | |
| 12 | public static function secretCode(): ImmutableStringOrIntList |
| 13 | { |
| 14 | return new ImmutableStringOrIntList([1, 'A', '4251', '42', 42, 'This is a text']); |
| 15 | } |
| 16 | } |