From 7fd04895676ed5b46379d6ec697aebce40021356 Mon Sep 17 00:00:00 2001 From: troosan Date: Fri, 16 Apr 2021 23:38:14 +0200 Subject: [PATCH] fix checkstyle issues --- src/PhpWord/TemplateProcessor.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/PhpWord/TemplateProcessor.php b/src/PhpWord/TemplateProcessor.php index 582c3509..3f7770d3 100644 --- a/src/PhpWord/TemplateProcessor.php +++ b/src/PhpWord/TemplateProcessor.php @@ -748,8 +748,7 @@ class TemplateProcessor // If tmpXmlRow doesn't contain continue, this row is no longer part of the spanned row. $tmpXmlRow = $this->getSlice($extraRowStart, $extraRowEnd); - if ( - !preg_match('##', $tmpXmlRow) && + if (!preg_match('##', $tmpXmlRow) && !preg_match('##', $tmpXmlRow) ) { break;