| @@ -123,6 +123,7 @@ | ||
| 123 | 123 | * Check if string is JSON | 
| 124 | 124 | * | 
| 125 | 125 | * @param string | 
| 126 | + * @param string $string | |
| 126 | 127 | * | 
| 127 | 128 | * @return bool | 
| 128 | 129 | */ | 
| @@ -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); |