Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
32 | private function createOtpToken(object $result): OtpToken |
||
33 | { |
||
34 | return new OtpToken([ |
||
35 | 'authenticable_id' => $result->authenticable_id, |
||
36 | 'cipher_text' => $result->cipher_text, |
||
37 | 'format' => $result->format, |
||
38 | 'expiry_time' => $result->expiry_time, |
||
39 | 'created_at' => $result->created_at, |
||
40 | 'updated_at' => $result->updated_at, |
||
41 | ]); |
||
44 |