| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 32 | public function __construct(MenuItemId $id, MenuItemLink $link, MenuItemOrder $order, MenuItemId $parentId = null) |
||
| 33 | { |
||
| 34 | $this->id = $id; |
||
| 35 | $this->link = $link; |
||
| 36 | $this->order = $order; |
||
| 37 | $this->parentId = $parentId; |
||
| 38 | $this->createdOn = new \DateTimeImmutable(); |
||
| 39 | $this->updatedOn = new \DateTimeImmutable(); |
||
| 40 | } |
||
| 41 | |||
| 83 |
This check marks private properties in classes that are never used. Those properties can be removed.