| Conditions | 3 | 
| Paths | 1 | 
| Total Lines | 10 | 
| Code Lines | 8 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 9 | 
| CRAP Score | 3 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 26 | 1 | public function create(array $data): EntryIdentifiable  | 
            |
| 27 |     { | 
            ||
| 28 | 1 | return new UsoCfdi(  | 
            |
| 29 | 1 | $data['id'],  | 
            |
| 30 | 1 | $data['texto'],  | 
            |
| 31 | 1 | (bool) $data['aplica_fisica'],  | 
            |
| 32 | 1 | (bool) $data['aplica_moral'],  | 
            |
| 33 | 1 | $data['regimenes_fiscales_receptores'],  | 
            |
| 34 | 1 | ($data['vigencia_desde']) ? strtotime($data['vigencia_desde']) : 0,  | 
            |
| 35 | 1 | ($data['vigencia_hasta']) ? strtotime($data['vigencia_hasta']) : 0  | 
            |
| 36 | );  | 
            ||
| 39 |