@@ -520,7 +520,7 @@ |
||
520 | 520 | * @return null|string |
521 | 521 | */ |
522 | 522 | public function findAndReplace($findAndReplaceData, $returnFormat, $templateName = null, $templateFilename = null, |
523 | - $mergeSettings = []) |
|
523 | + $mergeSettings = []) |
|
524 | 524 | { |
525 | 525 | $ret = null; |
526 | 526 |
@@ -84,10 +84,10 @@ discard block |
||
84 | 84 | $ret = null; |
85 | 85 | |
86 | 86 | StaticValidator::execute($templateName, 'TemplateName'); |
87 | - StaticValidator::execute($zoomFactor , 'ZoomFactor'); |
|
88 | - StaticValidator::execute($fromPage , 'Page'); |
|
89 | - StaticValidator::execute($toPage , 'Page'); |
|
90 | - StaticValidator::execute($imageFormat , 'ImageFormat'); |
|
87 | + StaticValidator::execute($zoomFactor, 'ZoomFactor'); |
|
88 | + StaticValidator::execute($fromPage, 'Page'); |
|
89 | + StaticValidator::execute($toPage, 'Page'); |
|
90 | + StaticValidator::execute($imageFormat, 'ImageFormat'); |
|
91 | 91 | |
92 | 92 | $query = [ |
93 | 93 | 'templateName' => $templateName, |
@@ -335,7 +335,7 @@ discard block |
||
335 | 335 | |
336 | 336 | StaticValidator::execute($documentFilename, 'DocumentExtension'); |
337 | 337 | StaticValidator::execute($documentFilename, 'FileExists'); |
338 | - StaticValidator::execute($returnFormat , 'ReturnFormat'); |
|
338 | + StaticValidator::execute($returnFormat, 'ReturnFormat'); |
|
339 | 339 | |
340 | 340 | $query = [ |
341 | 341 | 'returnFormat' => $returnFormat, |
@@ -385,7 +385,7 @@ discard block |
||
385 | 385 | { |
386 | 386 | $ret = null; |
387 | 387 | |
388 | - StaticValidator::execute($mergeData , 'TypeArray'); |
|
388 | + StaticValidator::execute($mergeData, 'TypeArray'); |
|
389 | 389 | StaticValidator::execute($returnFormat, 'ReturnFormat'); |
390 | 390 | |
391 | 391 | if (null !== $templateName) { |
@@ -478,7 +478,7 @@ discard block |
||
478 | 478 | $ret = null; |
479 | 479 | |
480 | 480 | StaticValidator::execute($findAndReplaceData, 'TypeArray'); |
481 | - StaticValidator::execute($returnFormat , 'ReturnFormat'); |
|
481 | + StaticValidator::execute($returnFormat, 'ReturnFormat'); |
|
482 | 482 | |
483 | 483 | if (null !== $templateName) { |
484 | 484 | StaticValidator::execute($templateName, 'TemplateName'); |