| 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'] ?? ''; |
|
| 64 | 3 | $this->url = $attributes['url'] ?? ''; |
|
| 65 | 3 | $this->description = $attributes['description'] ?? ''; |
|
| 66 | 3 | $this->eventType = $attributes['eventType']; |
|
| 67 | 3 | $this->projectId = $attributes['projectId'] ?? ''; |
|
| 68 | 3 | $this->username = $attributes['username'] ?? ''; |
|
| 69 | 3 | $this->password = $attributes['password'] ?? ''; |
|
| 70 | } |
||
| 72 |