| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 57 | 12 | public function __construct( |
|
| 58 | int $id, |
||
| 59 | int $offset, |
||
| 60 | LexemeInterface $lexeme, |
||
| 61 | ?AttributeCollectionInterface $attributes = null |
||
| 62 | ) { |
||
| 63 | 12 | $this->id = $id; |
|
| 64 | 12 | $this->offset = $offset; |
|
| 65 | 12 | $this->lexeme = $lexeme; |
|
| 66 | 12 | $this->attributes = $attributes ?? new AttributeCollection(); |
|
| 67 | 12 | } |
|
| 114 |