@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * balloon |
@@ -113,10 +113,10 @@ |
||
113 | 113 | $body->addPart($html); |
114 | 114 | |
115 | 115 | $mail = (new Message()) |
116 | - ->setSubject($message->getSubject($receiver)) |
|
117 | - ->setBody($body) |
|
118 | - ->setTo($address) |
|
119 | - ->setEncoding('UTF-8'); |
|
116 | + ->setSubject($message->getSubject($receiver)) |
|
117 | + ->setBody($body) |
|
118 | + ->setTo($address) |
|
119 | + ->setEncoding('UTF-8'); |
|
120 | 120 | |
121 | 121 | if (null === $sender) { |
122 | 122 | $mail->setFrom($this->sender_address, $this->sender_name); |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * balloon |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * balloon |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * balloon |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * balloon |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * balloon |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * balloon |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * balloon |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * balloon |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | */ |
25 | 25 | public function __construct(AttributeDecorator $decorator) |
26 | 26 | { |
27 | - $decorator->addDecorator('malware_quarantine', function ($node) { |
|
27 | + $decorator->addDecorator('malware_quarantine', function($node) { |
|
28 | 28 | if ($node instanceof File) { |
29 | 29 | $quarantine = $node->getAppAttribute('Balloon\\App\\ClamAv', 'quarantine'); |
30 | 30 | if (is_bool($quarantine)) { |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | } |
33 | 33 | } |
34 | 34 | }); |
35 | - $decorator->addDecorator('malware_scantime', function ($node) { |
|
35 | + $decorator->addDecorator('malware_scantime', function($node) { |
|
36 | 36 | if ($node instanceof File) { |
37 | 37 | $ts = $node->getAppAttribute('Balloon\\App\\ClamAv', 'scantime'); |
38 | 38 | |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | } |
42 | 42 | } |
43 | 43 | }); |
44 | - $decorator->addDecorator('malware_reason', function ($node) { |
|
44 | + $decorator->addDecorator('malware_reason', function($node) { |
|
45 | 45 | if ($node instanceof File) { |
46 | 46 | return $node->getAppAttribute('Balloon\\App\\ClamAv', 'reason'); |
47 | 47 | } |