| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | 16 | public function __construct(array $verificationData = []) |
|
| 15 | { |
||
| 16 | 16 | $this->id = $verificationData['id'] ?? null; |
|
| 17 | 16 | $this->userId = $verificationData['user_id'] ?? null; |
|
| 18 | 16 | $this->token = $verificationData['token'] ?? null; |
|
| 19 | 16 | $this->expiresAt = $verificationData['expires_at'] ?? null; |
|
| 20 | 16 | $this->usedAt = $verificationData['used_at'] ?? null; |
|
| 21 | 16 | $this->createdAt = $verificationData['created_at'] ?? null; |
|
| 22 | } |
||
| 43 |