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