| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 54 | public function __construct($name, $label, $type = Field::TEXT_TYPE, $value = null, $data = array(), $url = null, $required = true) |
||
|
|
|||
| 55 | { |
||
| 56 | $this->name = $name; |
||
| 57 | $this->label = $label; |
||
| 58 | $this->type = $type; |
||
| 59 | $this->value = $value; |
||
| 60 | $this->data = $data; |
||
| 61 | $this->url = $url; |
||
| 62 | $this->required = $required; |
||
| 63 | } |
||
| 64 | } |
Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.