Skip to content

Commit 59bc56b

Browse files
committed
AC-15165: SRI Improvements.
Revert constructor change.
1 parent 9fd90a8 commit 59bc56b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

app/code/Magento/Csp/Model/SubresourceIntegrityCollector.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ class SubresourceIntegrityCollector
1717
*/
1818
private array $data = [];
1919

20+
/**
21+
* @param array $data
22+
*/
23+
public function __construct(array $data = [])
24+
{
25+
$this->data = $data;
26+
}
27+
2028
/**
2129
* Collects given Integrity object.
2230
*

0 commit comments

Comments
 (0)