| Total Complexity | 2 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | final class CTeOther extends AbstractAccessKey |
||
| 8 | { |
||
| 9 | const LABEL = 'CTeOther'; |
||
| 10 | |||
| 11 | 5 | protected function defaultModel() : Model |
|
| 12 | { |
||
| 13 | 5 | return Model::CTeOther(); |
|
| 14 | } |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Generates a valid Sped Access Key. |
||
| 18 | * |
||
| 19 | * @param int $state IBGE state code. |
||
| 20 | * @param \DateTime $generatedAt Year and month when invoice was created. |
||
| 21 | * @param Cnpj $cnpj Cnpj from issuer. |
||
| 22 | * @param int $sequence Invoice sequence. |
||
| 23 | * @param int $invoiceNumber Invoice number. |
||
| 24 | * @param EmissionType $emissionType Emission Type |
||
| 25 | * @param int $controlNumber Control number. |
||
| 26 | * |
||
| 27 | * @return NFe |
||
| 28 | */ |
||
| 29 | 1 | public static function generate( |
|
| 50 | } |
||
| 51 | } |
||
| 52 |