Skip to content

QBXML Objects: asQBXML parameter conflict between parent and child classes.#260

Open
mreiden wants to merge 4 commits intoconsolibyte:masterfrom
mreiden:QBXML-asQBXML-function-parameter-conflict
Open

QBXML Objects: asQBXML parameter conflict between parent and child classes.#260
mreiden wants to merge 4 commits intoconsolibyte:masterfrom
mreiden:QBXML-asQBXML-function-parameter-conflict

Conversation

@mreiden
Copy link
Copy Markdown
Contributor

@mreiden mreiden commented Jun 13, 2019

Symfony 4.2+ complains the parameters of the asQBXML method of child classes do not match those in the QuickBooks_QBXML_Object parent class. This will throw an error starting in Symfony 5.

Prevent this and simplify the child classes by removing the methods if they do nothing other than call the parent method.

This pull request is based on top of #258.

mreiden added 4 commits June 13, 2019 15:49
…ent method (Many also have conflicting parameter declarations and some use undefined constants like QUICKBOOKS_XML_XML_DROP). Remove the _cleanup method if it only calls the parent method.
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