Skip to content

Commit b8ffe04

Browse files
committed
fix cs issue: "Arguments with default values must be at the end of the argument list"
1 parent b7dc71a commit b8ffe04

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/PhpWord/Reader/Word2007/AbstractPart.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -573,11 +573,11 @@ private function readCellStyle(XMLReader $xmlReader, \DOMElement $domNode)
573573
* Returns the first child element found
574574
*
575575
* @param XMLReader $xmlReader
576-
* @param \DOMElement $parentNode
577-
* @param string|array $elements
576+
* @param \DOMElement|null $parentNode
577+
* @param string|array|null $elements
578578
* @return string|null
579579
*/
580-
private function findPossibleElement(XMLReader $xmlReader, \DOMElement $parentNode = null, $elements)
580+
private function findPossibleElement(XMLReader $xmlReader, \DOMElement $parentNode = null, $elements = null)
581581
{
582582
if (is_array($elements)) {
583583
//if element is an array, we take the first element that exists in the XML

0 commit comments

Comments
 (0)