| Total Complexity | 5 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class APIMockController implements ContainerInjectableInterface |
||
| 13 | { |
||
| 14 | use ContainerInjectableTrait; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Main index page, serves as the ip mock |
||
| 18 | * @return Array |
||
| 19 | */ |
||
| 20 | 1 | public function indexAction() : array |
|
| 26 | ]; |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Darksky mock route which mocks the return |
||
| 31 | * type from the external darksky api |
||
| 32 | * @return Array |
||
| 33 | */ |
||
| 34 | 1 | public function darkSkyMockAction() : Array |
|
| 44 |