| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 7 | 
| Code Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 6 | 
| CRAP Score | 1 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 29 |     { | 
            ||
| 30 | 5 | $formGroup = $this->block;  | 
            |
| 31 | 5 |         $class = $formGroup->getAttribute('class'); | 
            |
| 32 | 5 |         $formGroup->setAttribute('class', $class.'form-group'); | 
            |
| 33 | 5 | $formGroup->appendChild($this->label);  | 
            |
| 34 | 5 | $formGroup->appendChild($this->element);  | 
            |
| 35 | 5 |         if (!is_null($this->errors)) { | 
            |
| 36 | 2 | $formGroup->appendChild($this->errors);  | 
            |
| 41 | }  |