@@ -340,7 +340,7 @@ discard block |
||
340 | 340 | * |
341 | 341 | * @return void |
342 | 342 | */ |
343 | - public function __construct(?ServerRequestInterface $request = null, ?ResponseInterface $response = null) |
|
343 | + public function __construct(?ServerRequestInterface $request = null, ?ResponseInterface $response = null) |
|
344 | 344 | { |
345 | 345 | // Load helper functions. This is the must. |
346 | 346 | new Helpers(); |
@@ -1648,10 +1648,10 @@ discard block |
||
1648 | 1648 | |
1649 | 1649 | $ui = [ |
1650 | 1650 | 'background_image' => $this->dialogUI['background_image'] ?? '', |
1651 | - 'bg_color' => $this->dialogUI['bg_color'] ?? '#ffffff', |
|
1652 | - 'header_bg_color' => $this->dialogUI['header_bg_color'] ?? '#212531', |
|
1653 | - 'header_color' => $this->dialogUI['header_color'] ?? '#ffffff', |
|
1654 | - 'shadow_opacity' => $this->dialogUI['shadow_opacity'] ?? '0.2', |
|
1651 | + 'bg_color' => $this->dialogUI['bg_color'] ?? '#ffffff', |
|
1652 | + 'header_bg_color' => $this->dialogUI['header_bg_color'] ?? '#212531', |
|
1653 | + 'header_color' => $this->dialogUI['header_color'] ?? '#ffffff', |
|
1654 | + 'shadow_opacity' => $this->dialogUI['shadow_opacity'] ?? '0.2', |
|
1655 | 1655 | ]; |
1656 | 1656 | |
1657 | 1657 | if (!defined('SHIELDON_VIEW')) { |
@@ -52,7 +52,7 @@ |
||
52 | 52 | |
53 | 53 | $messenger = new Messenger\Sendgrid($apiKey); |
54 | 54 | |
55 | - foreach($recipients as $recipient) { |
|
55 | + foreach ($recipients as $recipient) { |
|
56 | 56 | if (filter_var($recipient, FILTER_VALIDATE_EMAIL)) { |
57 | 57 | $messenger->addRecipient($recipient); |
58 | 58 | } |
@@ -51,7 +51,7 @@ |
||
51 | 51 | |
52 | 52 | $messenger = new Messenger\Mail(); |
53 | 53 | |
54 | - foreach($recipients as $recipient) { |
|
54 | + foreach ($recipients as $recipient) { |
|
55 | 55 | if (filter_var($recipient, FILTER_VALIDATE_EMAIL)) { |
56 | 56 | $messenger->addRecipient($recipient); |
57 | 57 | } |
@@ -53,7 +53,7 @@ |
||
53 | 53 | |
54 | 54 | $messenger = new Messenger\Mailgun($apiKey, $domain); |
55 | 55 | |
56 | - foreach($recipients as $recipient) { |
|
56 | + foreach ($recipients as $recipient) { |
|
57 | 57 | if (filter_var($recipient, FILTER_VALIDATE_EMAIL)) { |
58 | 58 | $messenger->addRecipient($recipient); |
59 | 59 | } |
@@ -76,7 +76,7 @@ |
||
76 | 76 | |
77 | 77 | $messenger = new Messenger\Smtp($user, $pass, $host, (int) $port); |
78 | 78 | |
79 | - foreach($recipients as $recipient) { |
|
79 | + foreach ($recipients as $recipient) { |
|
80 | 80 | if (filter_var($recipient, FILTER_VALIDATE_EMAIL)) { |
81 | 81 | $messenger->addRecipient($recipient); |
82 | 82 | } |
@@ -48,7 +48,7 @@ |
||
48 | 48 | * |
49 | 49 | * @return bool |
50 | 50 | */ |
51 | - public function __call($function , $args) |
|
51 | + public function __call($function, $args) |
|
52 | 52 | { |
53 | 53 | $className = 'Shieldon\Firewall\Panel\Sandbox\\' . $function; |
54 | 54 |