@@ -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 |
@@ -90,10 +90,10 @@ discard block |
||
90 | 90 | $ret = null; |
91 | 91 | |
92 | 92 | StaticValidator::execute($templateName, 'TemplateName'); |
93 | - StaticValidator::execute($zoomFactor , 'ZoomFactor'); |
|
94 | - StaticValidator::execute($fromPage , 'Page'); |
|
95 | - StaticValidator::execute($toPage , 'Page'); |
|
96 | - StaticValidator::execute($imageFormat , 'ImageFormat'); |
|
93 | + StaticValidator::execute($zoomFactor, 'ZoomFactor'); |
|
94 | + StaticValidator::execute($fromPage, 'Page'); |
|
95 | + StaticValidator::execute($toPage, 'Page'); |
|
96 | + StaticValidator::execute($imageFormat, 'ImageFormat'); |
|
97 | 97 | |
98 | 98 | $query = [ |
99 | 99 | 'templateName' => $templateName, |
@@ -345,7 +345,7 @@ discard block |
||
345 | 345 | |
346 | 346 | StaticValidator::execute($documentFilename, 'DocumentExtension'); |
347 | 347 | StaticValidator::execute($documentFilename, 'FileExists'); |
348 | - StaticValidator::execute($returnFormat , 'ReturnFormat'); |
|
348 | + StaticValidator::execute($returnFormat, 'ReturnFormat'); |
|
349 | 349 | |
350 | 350 | $headers = [ |
351 | 351 | 'Content-Type' => 'application/json', |
@@ -399,7 +399,7 @@ discard block |
||
399 | 399 | { |
400 | 400 | $ret = null; |
401 | 401 | |
402 | - StaticValidator::execute($mergeData , 'TypeArray'); |
|
402 | + StaticValidator::execute($mergeData, 'TypeArray'); |
|
403 | 403 | StaticValidator::execute($returnFormat, 'ReturnFormat'); |
404 | 404 | |
405 | 405 | if (null !== $templateName) { |
@@ -524,7 +524,7 @@ discard block |
||
524 | 524 | { |
525 | 525 | $ret = null; |
526 | 526 | |
527 | - StaticValidator::execute($findAndReplaceData , 'TypeArray'); |
|
527 | + StaticValidator::execute($findAndReplaceData, 'TypeArray'); |
|
528 | 528 | StaticValidator::execute($returnFormat, 'ReturnFormat'); |
529 | 529 | |
530 | 530 | if (null !== $templateName) { |