Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
50.00% covered (danger)
50.00%
1 / 2
50.00% covered (danger)
50.00%
1 / 2
CRAP
0.00% covered (danger)
0.00%
0 / 1
StaticActionExample
50.00% covered (danger)
50.00%
1 / 2
50.00% covered (danger)
50.00%
1 / 2
2.50
0.00% covered (danger)
0.00%
0 / 1
 __construct
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 secretCode
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2namespace Apie\Fixtures\Actions;
3
4use Apie\Fixtures\Lists\ImmutableStringOrIntList;
5
6final 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}