Skip to content

Commit eac6100

Browse files
committedJul 25, 2024
v5.8.1: MCS
1 parent d2156f8 commit eac6100

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed
 

‎Controller/Webhooks/Index.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,10 @@ public function processRequest($request, $hash, $topic)
310310
throw new LocalizedException(__("Order not found"));
311311
}
312312

313-
$this->logger->info("WEBHOOK: Processing case {$case->getId()} with request {$request} "
314-
, ['entity' => $case]);
313+
$this->logger->info(
314+
"WEBHOOK: Processing case {$case->getId()} with request {$request} ",
315+
['entity' => $case]
316+
);
315317
$this->storeManagerInterface->setCurrentStore($order->getStore()->getStoreId());
316318
$currentCaseHash = sha1(implode(',', $case->getData()));
317319

‎Plugin/Magento/Csp/Model/Collector/ControllerCollector.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use Magento\Csp\Model\Collector\ControllerCollector as MagentoControllerCollector;
66
use Magento\Csp\Model\Policy\FetchPolicyFactory;
7+
78
class ControllerCollector
89
{
910
/**
@@ -14,7 +15,8 @@ class ControllerCollector
1415
/**
1516
* @param FetchPolicyFactory $fetchPolicyFactory
1617
*/
17-
public function __construct(FetchPolicyFactory $fetchPolicyFactory) {
18+
public function __construct(FetchPolicyFactory $fetchPolicyFactory)
19+
{
1820
$this->fetchPolicyFactory = $fetchPolicyFactory;
1921
}
2022

0 commit comments

Comments
 (0)