fix cs issue: "Arguments with default values must be at the end of the argument list"
This commit is contained in:
parent
b7dc71ab1b
commit
b8ffe0477b
@ -573,11 +573,11 @@ abstract class AbstractPart
|
|||||||
* Returns the first child element found
|
* Returns the first child element found
|
||||||
*
|
*
|
||||||
* @param XMLReader $xmlReader
|
* @param XMLReader $xmlReader
|
||||||
* @param \DOMElement $parentNode
|
* @param \DOMElement|null $parentNode
|
||||||
* @param string|array $elements
|
* @param string|array|null $elements
|
||||||
* @return string|null
|
* @return string|null
|
||||||
*/
|
*/
|
||||||
private function findPossibleElement(XMLReader $xmlReader, \DOMElement $parentNode = null, $elements)
|
private function findPossibleElement(XMLReader $xmlReader, \DOMElement $parentNode = null, $elements = null)
|
||||||
{
|
{
|
||||||
if (is_array($elements)) {
|
if (is_array($elements)) {
|
||||||
//if element is an array, we take the first element that exists in the XML
|
//if element is an array, we take the first element that exists in the XML
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user