| Total Complexity | 2 | 
| Total Lines | 19 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 1 | 
| 1 | <?php  | 
            ||
| 17 | class FormScript extends FormElement  | 
            ||
| 18 | { | 
            ||
| 19 | /** @var string text for the line label */  | 
            ||
| 20 | protected string $strScript;  | 
            ||
| 21 | |||
| 22 | public function __construct(string $strScript)  | 
            ||
| 23 |     { | 
            ||
| 24 | parent::__construct(0);  | 
            ||
| 25 | $this->strScript = $strScript;  | 
            ||
| 26 | }  | 
            ||
| 27 | |||
| 28 | /**  | 
            ||
| 29 | * Just insert the script at current position of the form.  | 
            ||
| 30 | * @return string  | 
            ||
| 31 | */  | 
            ||
| 32 | public function getHTML() : string  | 
            ||
| 36 | }  | 
            ||
| 37 | }  | 
            ||
| 38 |