Skip to content

Throw InvalidArgumentException for unrecognized CST and CSOSN - #1353

Closed
guicalabria wants to merge 2 commits into
nfephp-org:masterfrom
guicalabria:patch-5
Closed

Throw InvalidArgumentException for unrecognized CST and CSOSN#1353
guicalabria wants to merge 2 commits into
nfephp-org:masterfrom
guicalabria:patch-5

Conversation

@guicalabria

Copy link
Copy Markdown
Contributor

Acredito que seja interessante adicionar esses throws quando não houver CST configurado.
Para evitar:
Fatal error: Uncaught TypeError: NFePHP\NFe\Make::tagICMSSN(): Return value must be of type DOMElement, null returned in

Se estivrem de acordo farei nas outras tags

Acredito que seja interessante adicionar esses throws quando não houver CST configurado.
Para evitar:
<b>Fatal error</b>:  Uncaught TypeError: NFePHP\NFe\Make::tagICMSSN(): Return value must be of type DOMElement, null returned in 

Se estivrem de acordo farei nas outras tags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant