Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
61 | 3 | public function __construct(array $attributes) |
|
62 | { |
||
63 | 3 | $this->id = $attributes['id'] ?? null; |
|
64 | 3 | $this->refNumber = $attributes['refNumber'] ?? null; |
|
65 | 3 | $this->title = $attributes['title']; |
|
66 | 3 | $this->description = $attributes['description']; |
|
67 | 3 | $this->status = $attributes['status']; |
|
68 | 3 | $this->priority = $attributes['priority'] ?? null; |
|
69 | 3 | $this->assignee = $attributes['assignee'] ?? null; |
|
70 | } |
||
72 |