| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 47 | public function __construct( |
||
| 48 | $type = null, |
||
| 49 | array $fieldDescriptionOptions = [], |
||
| 50 | ?int $position = null |
||
| 51 | ) { |
||
| 52 | $this->fieldDescriptionOptions = $fieldDescriptionOptions; |
||
| 53 | $this->position = $position; |
||
| 54 | |||
| 55 | if (is_array($type)) { |
||
| 56 | $this->initAnnotation($type); |
||
| 57 | } else { |
||
| 58 | $this->type = $type; |
||
| 59 | } |
||
| 76 |