@@ -134,7 +134,7 @@ |
||
| 134 | 134 | /** |
| 135 | 135 | * Gets the value of type. |
| 136 | 136 | * |
| 137 | - * @return integer |
|
| 137 | + * @return string |
|
| 138 | 138 | */ |
| 139 | 139 | public function getType() |
| 140 | 140 | { |
@@ -23,8 +23,8 @@ |
||
| 23 | 23 | |
| 24 | 24 | public function setUp() |
| 25 | 25 | { |
| 26 | - $widgetEntity = new Widget(); |
|
| 27 | - $widgetEntity->setId(1); |
|
| 26 | + $widgetEntity = new Widget(); |
|
| 27 | + $widgetEntity->setId(1); |
|
| 28 | 28 | $widgetEntity->setParameters(['html_body' => 'simple html body']); |
| 29 | 29 | |
| 30 | 30 | $this->widget = new HtmlWidget($widgetEntity); |