| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | 2 | public function obtain(string $aduana, string $patente, int $ejercicio): NumeroPedimentoAduana |
|
| 17 | { |
||
| 18 | 2 | $data = $this->repository()->queryRowByFields(Repository::CFDI_NUMEROS_PEDIMENTO_ADUANA, [ |
|
| 19 | 2 | 'aduana' => $aduana, |
|
| 20 | 2 | 'patente' => $patente, |
|
| 21 | 2 | 'ejercicio' => $ejercicio, |
|
| 22 | 2 | ]); |
|
| 23 | 2 | return $this->create($data); |
|
| 24 | } |
||
| 43 |