Skip to content

Commit 3962ad9

Browse files
vincentKoolProgi1984
authored andcommitted
Fixed minor issue found by Scrutinizer
1 parent a821c13 commit 3962ad9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/PhpWord/Reader/Word2007/AbstractPart.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ protected function readParagraph(XMLReader $xmlReader, DOMElement $domNode, $par
223223
$formNodes[] = $node;
224224
$partOfFormField = false;
225225
// Process the form fields
226-
$this->readFormField($xmlReader, $formNodes, $paragraph, $docPart, $paragraphStyle, $formType);
226+
$this->readFormField($xmlReader, $formNodes, $paragraph, $paragraphStyle, $formType);
227227
} elseif ($partOfFormField) {
228228
$formNodes[] = $node;
229229
} else {
@@ -326,11 +326,10 @@ protected function readParagraph(XMLReader $xmlReader, DOMElement $domNode, $par
326326
* @param XMLReader $xmlReader
327327
* @param \DOMElement[] $domNodes
328328
* @param AbstractContainer $parent
329-
* @param string $docPart
330-
* @param null $paragraphStyle
329+
* @param mixed $paragraphStyle
331330
* @param string $formType
332331
*/
333-
private function readFormField(XMLReader $xmlReader, array $domNodes, $parent, $docPart, $paragraphStyle, $formType)
332+
private function readFormField(XMLReader $xmlReader, array $domNodes, $parent, $paragraphStyle, $formType)
334333
{
335334
if (!in_array($formType, array('textinput', 'checkbox', 'dropdown'))) {
336335
return;

0 commit comments

Comments
 (0)