Conditions | 3 |
Paths | 3 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 3 |
Changes | 0 |
1 | <?php |
||
58 | 228 | public function collect(Map $map, array $icons = []) |
|
59 | { |
||
60 | 228 | foreach ($this->polylineCollector->collect($map) as $polyline) { |
|
61 | 20 | if ($polyline->hasIconSequences()) { |
|
62 | 16 | $icons = $this->collectValues($polyline->getIconSequences()); |
|
63 | 6 | } |
|
64 | 114 | } |
|
65 | |||
66 | 228 | return $icons; |
|
67 | } |
||
68 | } |
||
69 |