Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
19 | 29 | private function buildMapHtml( MappingService $service, MapData $mapData ): string { |
|
20 | 29 | $htmlBuilder = new MapHtmlBuilder(); |
|
21 | |||
22 | 29 | return $htmlBuilder->getMapHTML( |
|
23 | 29 | ( new MapDataSerializer() )->toJson( $mapData ), |
|
24 | 29 | $service->newMapId(), |
|
25 | 29 | $service->getName() |
|
26 | ); |
||
27 | } |
||
28 | |||
30 |