Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 25 |
|
0.00% |
0 / 2 |
CRAP | |
0.00% |
0 / 1 |
ImageRecommendationTipTree | |
0.00% |
0 / 25 |
|
0.00% |
0 / 2 |
6 | |
0.00% |
0 / 1 |
getTree | |
0.00% |
0 / 24 |
|
0.00% |
0 / 1 |
2 | |||
getTaskTypeId | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | namespace GrowthExperiments\HelpPanel\Tips; |
4 | |
5 | use GrowthExperiments\NewcomerTasks\TaskType\ImageRecommendationTaskTypeHandler; |
6 | |
7 | class ImageRecommendationTipTree extends TipTree { |
8 | |
9 | /** @inheritDoc */ |
10 | public function getTree(): array { |
11 | return [ |
12 | 'value' => [ |
13 | 'header' => [], |
14 | 'main-multiple' => [], |
15 | 'text' => [ |
16 | [ |
17 | 'type' => self::TIP_DATA_TYPE_TEXT_VARIANT, |
18 | 'data' => 'italic', |
19 | ] |
20 | ] |
21 | ], |
22 | 'step1' => [ |
23 | 'header' => [], |
24 | 'main-multiple' => [] |
25 | ], |
26 | 'step2' => [ |
27 | 'header' => [], |
28 | 'main' => [] |
29 | ], |
30 | 'step3' => [ |
31 | 'header' => [], |
32 | 'main-multiple' => [] |
33 | ] |
34 | ]; |
35 | } |
36 | |
37 | /** @inheritDoc */ |
38 | protected function getTaskTypeId(): string { |
39 | return ImageRecommendationTaskTypeHandler::TASK_TYPE_ID; |
40 | } |
41 | } |