Passed
Pull Request — master (#21)
by Rhodri
08:40
created
src/ChromeRequest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Request.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -51,16 +51,16 @@  discard block
 block discarded – undo
51 51
     public function getFormValues(): array
52 52
     {
53 53
         $values = [];
54
-        if (! empty($this->resultFilename)) {
54
+        if (!empty($this->resultFilename)) {
55 55
             $values[self::RESULT_FILENAME] = $this->resultFilename;
56 56
         }
57 57
         if ($this->waitTimeout !== null) {
58 58
             $values[self::WAIT_TIMEOUT] = $this->waitTimeout;
59 59
         }
60
-        if (! empty($this->webhookURL)) {
60
+        if (!empty($this->webhookURL)) {
61 61
             $values[self::WEBHOOK_URL] = $this->webhookURL;
62 62
         }
63
-        if (! empty($this->webhookURLTimeout)) {
63
+        if (!empty($this->webhookURLTimeout)) {
64 64
             $values[self::WEBHOOK_URL_TIMEOUT] = $this->webhookURLTimeout;
65 65
         }
66 66
 
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 
70 70
     public function hasWebhook(): bool
71 71
     {
72
-        return ! empty($this->webhookURL);
72
+        return !empty($this->webhookURL);
73 73
     }
74 74
 
75 75
     /**
Please login to merge, or discard this patch.