Total Complexity | 4 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
13 | class Factory |
||
14 | { |
||
15 | /** |
||
16 | * @return MockServer |
||
17 | * @throws \Exception |
||
18 | */ |
||
19 | 3 | public static function getMockServer(): MockServer |
|
26 | ); |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * @return StaticRouter |
||
31 | * @throws \RuntimeException |
||
32 | */ |
||
33 | 8 | public static function getStaticRouter(): StaticRouter |
|
37 | ); |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * @return Request |
||
42 | * @throws \RuntimeException |
||
43 | */ |
||
44 | 2 | public static function getLastRequest(): Request |
|
55 |