| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | public function __construct(object $reference) |
||
| 27 | { |
||
| 28 | $this->id = $reference->id; |
||
| 29 | $this->name = $reference->name; |
||
| 30 | $this->type = $reference->type; |
||
| 31 | $this->commit_id = $reference->commit_id ?? null; |
||
| 32 | $this->commit_message = $reference->commit_message ?? null; |
||
| 33 | $this->commit_author = $reference->commit_author ?? null; |
||
| 34 | $this->commit_date = $reference->commit_date ?? null; |
||
| 35 | $this->links = $reference->_links; |
||
| 36 | } |
||
| 38 |