@@ -41,16 +41,16 @@ |
||
41 | 41 | public function getFormValues(): array |
42 | 42 | { |
43 | 43 | $values = []; |
44 | - if (! empty($this->resultFilename)) { |
|
44 | + if (!empty($this->resultFilename)) { |
|
45 | 45 | $values[self::RESULT_FILENAME] = $this->resultFilename; |
46 | 46 | } |
47 | 47 | if ($this->waitTimeout !== null) { |
48 | 48 | $values[self::WAIT_TIMEOUT] = $this->waitTimeout; |
49 | 49 | } |
50 | - if (! empty($this->webhookURL)) { |
|
50 | + if (!empty($this->webhookURL)) { |
|
51 | 51 | $values[self::WEBHOOK_URL] = $this->webhookURL; |
52 | 52 | } |
53 | - if (! empty($this->webhookURLTimeout)) { |
|
53 | + if (!empty($this->webhookURLTimeout)) { |
|
54 | 54 | $values[self::WEBHOOK_URL_TIMEOUT] = $this->webhookURLTimeout; |
55 | 55 | } |
56 | 56 |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | private const PAPER_WIDTH = 'paperWidth'; |
13 | 13 | private const PAPER_HEIGHT = 'paperHeight'; |
14 | 14 | private const MARGIN_TOP = 'marginTop'; |
15 | - private const MARGIN_BOTTOM = 'marginBottom'; |
|
15 | + private const MARGIN_BOTTOM = 'marginBottom'; |
|
16 | 16 | private const MARGIN_LEFT = 'marginLeft'; |
17 | 17 | private const MARGIN_RIGHT = 'marginRight'; |
18 | 18 | private const LANDSCAPE = 'landscape'; |
@@ -85,10 +85,10 @@ discard block |
||
85 | 85 | public function getFormFiles(): array |
86 | 86 | { |
87 | 87 | $files = []; |
88 | - if (! empty($this->header)) { |
|
88 | + if (!empty($this->header)) { |
|
89 | 89 | $files['header.html'] = $this->header; |
90 | 90 | } |
91 | - if (! empty($this->footer)) { |
|
91 | + if (!empty($this->footer)) { |
|
92 | 92 | $files['footer.html'] = $this->footer; |
93 | 93 | } |
94 | 94 |