@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | * |
| 56 | 56 | * @param string $dtInicio |
| 57 | 57 | * @param strinf $dtFim ultimo dia do semestre de ref |
| 58 | - * @return Dom |
|
| 58 | + * @return \DOMElement |
|
| 59 | 59 | */ |
| 60 | 60 | public function tagInfo($dtInicio, $dtFim) |
| 61 | 61 | { |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | * @param string $cep |
| 96 | 96 | * @param string $municipio |
| 97 | 97 | * @param string $uf |
| 98 | - * @return Dom |
|
| 98 | + * @return \DOMNode |
|
| 99 | 99 | */ |
| 100 | 100 | public function tagResponsavelRMF($cpf, $nome, $setor, $ddd, $telefone, $ramal, $logradouro, $numero, $complemento, $bairro, $cep, $municipio, $uf) |
| 101 | 101 | { |
@@ -209,7 +209,7 @@ discard block |
||
| 209 | 209 | * @param string $ddd |
| 210 | 210 | * @param string $telefone |
| 211 | 211 | * @param string $ramal |
| 212 | - * @return Dom |
|
| 212 | + * @return \DOMNode |
|
| 213 | 213 | */ |
| 214 | 214 | public function tagRepresLegal($cpf, $setor, $ddd, $telefone, $ramal) |
| 215 | 215 | { |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | * Cria a tag info |
| 42 | 42 | * |
| 43 | 43 | * @param string $nrReciboEventoAbertura |
| 44 | - * @return Dom |
|
| 44 | + * @return \DOMElement |
|
| 45 | 45 | */ |
| 46 | 46 | public function tagInfo($nrReciboEventoAbertura) |
| 47 | 47 | { |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | * @param string $indRetificacao |
| 94 | 94 | * @param int $tpAmb |
| 95 | 95 | * @param string $nrRecibo |
| 96 | - * @return Dom |
|
| 96 | + * @return \DOMNode |
|
| 97 | 97 | */ |
| 98 | 98 | public function tagEvento($id, $indRetificacao, $tpAmb, $nrRecibo = '') |
| 99 | 99 | { |
@@ -148,7 +148,7 @@ discard block |
||
| 148 | 148 | * Cria a tag ideDeclarante |
| 149 | 149 | * |
| 150 | 150 | * @param string $cnpj |
| 151 | - * @return Dom |
|
| 151 | + * @return \DOMElement |
|
| 152 | 152 | */ |
| 153 | 153 | public function tagDeclarante($cnpj) |
| 154 | 154 | { |
@@ -13,11 +13,11 @@ |
||
| 13 | 13 | * @link http://github.com/nfephp-org/sped-efinanceira for the canonical source repository |
| 14 | 14 | */ |
| 15 | 15 | |
| 16 | +use InvalidArgumentException; |
|
| 16 | 17 | use NFePHP\Common\Base\BaseMake; |
| 17 | 18 | use NFePHP\Common\Certificate\Pkcs12; |
| 18 | -use NFePHP\Common\Files\FilesFolders; |
|
| 19 | 19 | use NFePHP\Common\Dom\ValidXsd; |
| 20 | -use InvalidArgumentException; |
|
| 20 | +use NFePHP\Common\Files\FilesFolders; |
|
| 21 | 21 | |
| 22 | 22 | abstract class Factory extends BaseMake |
| 23 | 23 | { |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | * 2 = Fusão |
| 65 | 65 | * 3 = Incorporação/Incorporada |
| 66 | 66 | * 5 = Cisão Total |
| 67 | - * @return Dom |
|
| 67 | + * @return \DOMElement |
|
| 68 | 68 | */ |
| 69 | 69 | public function tagInfo($dtInicio, $dtFim, $sitEspecial) |
| 70 | 70 | { |
@@ -100,7 +100,7 @@ discard block |
||
| 100 | 100 | * @param string $pais |
| 101 | 101 | * @param string $reportavel 0-Não |
| 102 | 102 | * 1-Sim |
| 103 | - * @return Dom |
|
| 103 | + * @return \DOMElement |
|
| 104 | 104 | */ |
| 105 | 105 | public function reportavelExterior($pais, $reportavel) |
| 106 | 106 | { |
@@ -128,7 +128,7 @@ discard block |
||
| 128 | 128 | * Dados de fechamento do anomes |
| 129 | 129 | * @param string $anomes |
| 130 | 130 | * @param string $qtd |
| 131 | - * @return Dom |
|
| 131 | + * @return \DOMElement |
|
| 132 | 132 | */ |
| 133 | 133 | public function tagFechamentoMes($anomes, $qtd) |
| 134 | 134 | { |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | * Cria a tag info |
| 42 | 42 | * |
| 43 | 43 | * @param string $nrReciboEventoAbertura |
| 44 | - * @return Dom |
|
| 44 | + * @return \DOMElement |
|
| 45 | 45 | */ |
| 46 | 46 | public function tagInfo($nrReciboEventoAbertura) |
| 47 | 47 | { |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | * Cria a tag info |
| 42 | 42 | * |
| 43 | 43 | * @param string $nrReciboEventoAbertura |
| 44 | - * @return Dom |
|
| 44 | + * @return \DOMElement |
|
| 45 | 45 | */ |
| 46 | 46 | public function tagInfo($nrReciboEventoAbertura) |
| 47 | 47 | { |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | * Cria a tag info |
| 42 | 42 | * |
| 43 | 43 | * @param string $nrReciboEventoAbertura |
| 44 | - * @return Dom |
|
| 44 | + * @return \DOMElement |
|
| 45 | 45 | */ |
| 46 | 46 | public function tagInfo($nrReciboEventoAbertura) |
| 47 | 47 | { |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | * |
| 69 | 69 | * @param string $numeroNIF |
| 70 | 70 | * @param string $paisEmissao |
| 71 | - * @return Dom tag NIF |
|
| 71 | + * @return \DOMElement tag NIF |
|
| 72 | 72 | */ |
| 73 | 73 | public function declaradoNIF($numeroNIF, $paisEmissao) |
| 74 | 74 | { |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | * podem existir ZERO ou mais |
| 83 | 83 | * |
| 84 | 84 | * @param string $pais |
| 85 | - * @return Dom tag PaisResid |
|
| 85 | + * @return \DOMElement tag PaisResid |
|
| 86 | 86 | */ |
| 87 | 87 | public function declaradoPaisResid($pais) |
| 88 | 88 | { |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | * podem existir ZERO ou mais |
| 97 | 97 | * |
| 98 | 98 | * @param string $pais |
| 99 | - * @return Dom tag PaisResid |
|
| 99 | + * @return \DOMElement tag PaisResid |
|
| 100 | 100 | */ |
| 101 | 101 | public function declaradoPaisNac($pais) |
| 102 | 102 | { |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | * @param string $dataNasc Obrigatorio |
| 128 | 128 | * @param string $enderecoLivre se não exisitr deixar uma string vazia |
| 129 | 129 | * @param string $pais Obrigatorio |
| 130 | - * @return Dom |
|
| 130 | + * @return \DOMNode |
|
| 131 | 131 | */ |
| 132 | 132 | public function declarado( |
| 133 | 133 | $tpNI, |
@@ -192,7 +192,7 @@ discard block |
||
| 192 | 192 | * |
| 193 | 193 | * @param string $numeroNIF |
| 194 | 194 | * @param string $paisEmissao |
| 195 | - * @return Dom tag NIF |
|
| 195 | + * @return \DOMElement tag NIF |
|
| 196 | 196 | */ |
| 197 | 197 | protected function zNIF($numeroNIF, $paisEmissao) |
| 198 | 198 | { |
@@ -224,7 +224,7 @@ discard block |
||
| 224 | 224 | * @param string $subSecJud Obrigatorio |
| 225 | 225 | * @param string $dtConcessao Obrigatorio |
| 226 | 226 | * @param string $dtCassacao caso não exista deixe uma string vazia |
| 227 | - * @return Dom tag MedJudic |
|
| 227 | + * @return \DOMElement tag MedJudic |
|
| 228 | 228 | */ |
| 229 | 229 | protected function zMedJudic( |
| 230 | 230 | $numProcJud, |
@@ -286,7 +286,7 @@ discard block |
||
| 286 | 286 | * |
| 287 | 287 | * @param string $pais |
| 288 | 288 | * @param string $tag PaisNacionalidade ou PaisResid |
| 289 | - * @return Dom tag PaisNacionalidade ou PaisResid |
|
| 289 | + * @return \DOMElement tag PaisNacionalidade ou PaisResid |
|
| 290 | 290 | */ |
| 291 | 291 | protected function zPais($pais, $tag) |
| 292 | 292 | { |
@@ -122,7 +122,7 @@ discard block |
||
| 122 | 122 | * @param string $subSecJud Obrigatorio |
| 123 | 123 | * @param string $dtConcessao Obrigatorio |
| 124 | 124 | * @param string $dtCassacao caso não exista deixe uma string vazia |
| 125 | - * @return Dom tag MedJudic |
|
| 125 | + * @return \DOMElement tag MedJudic |
|
| 126 | 126 | */ |
| 127 | 127 | public function contaMedJudic( |
| 128 | 128 | $numConta, |
@@ -144,7 +144,7 @@ discard block |
||
| 144 | 144 | * |
| 145 | 145 | * @param string $numConta |
| 146 | 146 | * @param string $pais |
| 147 | - * @return Dom tag Reportavel |
|
| 147 | + * @return \DOMElement tag Reportavel |
|
| 148 | 148 | */ |
| 149 | 149 | public function contaReportavel($numConta, $pais) |
| 150 | 150 | { |
@@ -157,7 +157,7 @@ discard block |
||
| 157 | 157 | * Cria a tag mesCaixa |
| 158 | 158 | * |
| 159 | 159 | * @param string $anomes |
| 160 | - * @return Dom tag mesCaixa |
|
| 160 | + * @return \DOMElement tag mesCaixa |
|
| 161 | 161 | */ |
| 162 | 162 | public function movAnoMes($anomes) |
| 163 | 163 | { |
@@ -181,7 +181,7 @@ discard block |
||
| 181 | 181 | * @param string $giin |
| 182 | 182 | * @param string $tpNI |
| 183 | 183 | * @param string $nIIntermediario |
| 184 | - * @return Dom tag conta intermediario |
|
| 184 | + * @return \DOMElement tag conta intermediario |
|
| 185 | 185 | */ |
| 186 | 186 | public function contaIntermediario($numConta, $giin, $tpNI, $nIIntermediario) |
| 187 | 187 | { |
@@ -217,7 +217,7 @@ discard block |
||
| 217 | 217 | * @param string $numConta |
| 218 | 218 | * @param string $giin |
| 219 | 219 | * @param string $cnpj |
| 220 | - * @return Dom tag fundo de investimento da conta |
|
| 220 | + * @return \DOMElement tag fundo de investimento da conta |
|
| 221 | 221 | */ |
| 222 | 222 | public function contaFundo($numConta, $giin, $cnpj) |
| 223 | 223 | { |
@@ -250,7 +250,7 @@ discard block |
||
| 250 | 250 | * @param string $tpRelacaoDeclarado |
| 251 | 251 | * @param string $noTitulares |
| 252 | 252 | * @param string $dtEncerramentoConta se não estiver encerrada seixe uma string vazia |
| 253 | - * @return Dom |
|
| 253 | + * @return \DOMElement |
|
| 254 | 254 | */ |
| 255 | 255 | public function conta( |
| 256 | 256 | $numConta, |
@@ -325,7 +325,7 @@ discard block |
||
| 325 | 325 | * @param string $totCreditosMesmaTitularidade |
| 326 | 326 | * @param string $totDebitosMesmaTitularidade |
| 327 | 327 | * @param string $vlrUltDia |
| 328 | - * @return Dom tag balanco |
|
| 328 | + * @return \DOMElement tag balanco |
|
| 329 | 329 | */ |
| 330 | 330 | public function contaBalanco( |
| 331 | 331 | $numConta, |
@@ -382,7 +382,7 @@ discard block |
||
| 382 | 382 | * @param string $numConta |
| 383 | 383 | * @param array $tpPgto |
| 384 | 384 | * @param string$totPgtosAcum |
| 385 | - * @return Dom tag PgtosAcum |
|
| 385 | + * @return \DOMElement tag PgtosAcum |
|
| 386 | 386 | */ |
| 387 | 387 | public function contaPgtosAcum($numConta, $tpPgto, $totPgtosAcum) |
| 388 | 388 | { |
@@ -414,7 +414,7 @@ discard block |
||
| 414 | 414 | * @param string $totCompras |
| 415 | 415 | * @param string $totVendas |
| 416 | 416 | * @param string $totTransferencias |
| 417 | - * @return Dom |
|
| 417 | + * @return \DOMElement |
|
| 418 | 418 | */ |
| 419 | 419 | public function cambio( |
| 420 | 420 | $totCompras, |
@@ -459,7 +459,7 @@ discard block |
||
| 459 | 459 | * @param string $subSecJud Obrigatorio |
| 460 | 460 | * @param string $dtConcessao Obrigatorio |
| 461 | 461 | * @param string $dtCassacao caso não exista deixe uma string vazia |
| 462 | - * @return Dom tag MedJudic |
|
| 462 | + * @return \DOMElement tag MedJudic |
|
| 463 | 463 | */ |
| 464 | 464 | public function contaCambioMedJudic( |
| 465 | 465 | $numConta, |